I hereby claim:
- I am pcrawfor on github.
- I am pcrawfor (https://keybase.io/pcrawfor) on keybase.
- I have a public key ASD_Dkz0ezyjW9M3cRopD_KEoaIbIJak3C6E4sg1ccyZ6Ao
To claim this, I am signing this object:
(in /Users/paulcrawford/development_libs/macruby-experimental) | |
/usr/bin/ruby tool/compile_prelude.rb prelude.rb miniprelude.c.new | |
rm miniprelude.c.new | |
/usr/bin/bison -o y.tab.c parse.y | |
/usr/bin/sed -f ./tool/ytab.sed -e "/^#/s!y.tab.c!parse.c!" y.tab.c > parse.c.new | |
mv parse.c.new parse.c | |
rm -f parse.o | |
cp lex.c.blt lex.c | |
/usr/bin/ruby -n tool/node_name.rb include/ruby/node.h > node_name.inc | |
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno-parentheses -Wno-deprecated-declarations -Werror -c array.c -o array.o |
// import the client | |
#import "FayeClient.h" | |
// init the FayeClient with a server and channel to subscribe to | |
FayeClient *faye = [[FayeClient alloc] initWithURLString:@"ws://localhost:8000/faye" | |
channel:@"/chat"]; | |
// ensure that you implement the FayeClientDelegate functions | |
faye.delegate = self; |
- (void) messageReceived:(NSDictionary *)messageDict { | |
DLog(@"message received"); | |
// do something useful with the message dictionary | |
} | |
- (void)connectedToServer { | |
// Faye connection established | |
} | |
- (void)disconnectedFromServer { |
I hereby claim:
To claim this, I am signing this object: