Re: Crash in Leopard due to symbol not found
Re: Crash in Leopard due to symbol not found
- Subject: Re: Crash in Leopard due to symbol not found
- From: "Jan E. Schotsman" <email@hidden>
- Date: Thu, 29 Oct 2009 23:08:04 +0100
On Oct 29, 2009, at 8:10 PM, Bill Cheeseman wrote:
So is this correct? -- If I want my Objective-C application to use
blocks when running under Snow Leopard but not when running under
Leopard, testing which version of Mac OS X I'm running under and
branching around blocks-based code under Leopard won't solve the
problem?
Do I have to use the availability macros and build two separate
targets, one for Leopard and one for Snow Leopard? Maintaining a
separate product for Leopard is not practical.
There is a discussion about this on Developer Forums Beta / GCD called
"Graceful degredation SnowLeopard > Leopard > Tiger" whose outcome is
not quite clear to me.
You may need to put your block code in a separate framework compiled
for Snow and weak link against it.
Even if you only needed to isolate the block code in files compiled/
linked with some flags, having to switch to a different function based
on a global holding the system version takes away from the usefulness
of blocks of course.
Jan E.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden