I ran into it just the other day... Though now that I think about it, it may 
have been a dyld error at runtime rather than a compile-time error. I should 
double-check that.

-BJ

On Mar 11, 2011, at 8:52 PM, Zachary West <z...@adium.im> wrote:

> On Fri, Mar 11, 2011 at 22:49, BJ Homer <bjho...@gmail.com> wrote:
>> While you can absolutely use the 10.6 SDK and run on Leopard (and thus Xcode 
>> 4 can be used without dropping Leopard), dropping Leopard IS required in 
>> order to use GCD and Blocks. Code with blocks in it won't even compile if 
>> the deployment target is <10.6, since blocks are created on the stack and 
>> the compiler needs to know how much space to give them.
> 
> This isn't the case on iOS. You can write code that uses blocks with
> iOS 4 support, and still run on iOS 3. Is this truly not the case for
> OS X?
> 
> -- 
> Zachary West
> 

Reply via email to