Re: OS_OBJECT_USE_OBJC_RETAIN_RELEASE and xpc_release()
Re: OS_OBJECT_USE_OBJC_RETAIN_RELEASE and xpc_release()
- Subject: Re: OS_OBJECT_USE_OBJC_RETAIN_RELEASE and xpc_release()
- From: Greg Parker <email@hidden>
- Date: Thu, 08 Nov 2012 18:00:49 -0800
On Nov 8, 2012, at 5:40 PM, Jerry Krinock <email@hidden> wrote:
> On 2012 Nov 08, at 08:59, Jean-Daniel Dupas <email@hidden> wrote:
>> Assuming you are targeting 10.8, yes you should remove all xpc_retain/release and dispatch_retain/release calls.
>
> Nope. Targeting 10.6+.
>
> So then I guess I should stick with the alternative of using xpc_release() and compiling with flag -DOS_OBJECT_USE_OBJC=0.
You should not need the extra compiler flag. Set your Deployment Target correctly and the headers will handle the rest.
--
Greg Parker email@hidden Runtime Wrangler
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden