Blocks don't seem to work from PhoneGap

42 views
Skip to first unread message

p_kaufman99

unread,
Dec 21, 2011, 1:06:12 AM12/21/11
to CocoaHTTPServer
I'm trying to use blocks inside of PhoneGap. However, when I try to
even create a block like so:

NSLog(@"%@", ^{return @"TEST";});

my application dies and I get an EXC_BAD_ACCESS error.

Am I doing something wrong? Do I need to change some configuration
variable to get blocks working?

p_kaufman99

unread,
Dec 21, 2011, 1:06:46 AM12/21/11
to CocoaHTTPServer
Sorry, this is off-topic, I posted this in the wrong window, please
remove.
Reply all
Reply to author
Forward
0 new messages