views:

229

answers:

2
+1  Q: 

Iphone 3.3 blocks

I am tyring to use Objective C blocks on an iPhone 3.3 app but am getting a linkage error:

"_NSConcreteGlobalBlock," referenced from:

Any ideas as to whether blocks are supported in the iPhone 3.2 SDK? I found conflicting reports on the internet.

+3  A: 

Blocks are not supported natively on the iPhone. However, there is an option: The "plblocks" project allows you to compile block-based code for 10.5 and iPhone OS 2.2+:

Dave DeLong
Thanks, I think they might be supported in the 3.2 beta according to the plblocks blog. I need to download it to see.
John Wright
A: 

There is no iPhone 3.3.

Jonathan Sterling