Google Groups

Re: Blocks don't seem to work from PhoneGap

p_kaufman99 Dec 20, 2011 10:06 PM
Posted in group: CocoaHTTPServer
Sorry, this is off-topic, I posted this in the wrong window, please

On Dec 21, 3:06 pm, p_kaufman99 <> wrote:
> 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?