On 19/07/2012, at 1:35 AM, Sean McBride wrote:

> But you can prepare your code slowly, in a way that supports both.  ex:
> - replace all use of NSAllocateCollectable with malloc/free
> - change 'retain' to 'strong' in property declarations
> - replace CFMakeCollectable with CFBridgingRelease
> - replace NSMakeCollectable with a nil check and CFBridgingRelease

Thanks -- I didn't realize the last two. 

So you are saying I can include things like __bridge and __bridge_retained in 
GC code, and they'll just be ignored until I flick the switch?

-- 
Shane Stanley <sstan...@myriad-com.com.au>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to