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: Jerry Krinock <email@hidden>
- Date: Thu, 08 Nov 2012 17:40:53 -0800
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.
I think I should file a bug that these conditions for using or not xpc_release() are not documented. I think the documentation should be in xpc.h and/or "Transitioning to ARC Release Notes". Am I looking in the wrong place?
Jerry
_______________________________________________
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