Thanks for the reply, Greg. I running with ARC enabled. The compiler flags any calls to autorelease. What am I missing?
-Michael On Jan 23, 2014, at 4:02 AM, Greg Parker <gpar...@apple.com> wrote: > On Jan 20, 2014, at 12:27 PM, Michael Crawford <michaelacrawf...@me.com> > wrote: >> I also realize that the 10.8 version returns an autoreleased object whereas >> the version written a couple of years ago must have the resulting reference >> freed by the caller. I'm not sure how Apple pulls that off with a CF >> reference but I'd love to have a solution for that as well. > > The NS/CF bridge means that calling autorelease on a CF object works fine. > > > -- > Greg Parker gpar...@apple.com Runtime Wrangler > > _______________________________________________ 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