• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: OS_OBJECT_USE_OBJC_RETAIN_RELEASE and xpc_release()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: OS_OBJECT_USE_OBJC_RETAIN_RELEASE and xpc_release()
      • From: Jerry Krinock <email@hidden>
References: 
 >OS_OBJECT_USE_OBJC_RETAIN_RELEASE and xpc_release() (From: Jerry Krinock <email@hidden>)
 >Re: OS_OBJECT_USE_OBJC_RETAIN_RELEASE and xpc_release() (From: Greg Parker <email@hidden>)
 >Re: OS_OBJECT_USE_OBJC_RETAIN_RELEASE and xpc_release() (From: Jerry Krinock <email@hidden>)
 >Re: OS_OBJECT_USE_OBJC_RETAIN_RELEASE and xpc_release() (From: Jean-Daniel Dupas <email@hidden>)
 >Re: OS_OBJECT_USE_OBJC_RETAIN_RELEASE and xpc_release() (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: OS_OBJECT_USE_OBJC_RETAIN_RELEASE and xpc_release()
  • Next by Date: Re: printing arrays
  • Previous by thread: Re: OS_OBJECT_USE_OBJC_RETAIN_RELEASE and xpc_release()
  • Next by thread: Re: OS_OBJECT_USE_OBJC_RETAIN_RELEASE and xpc_release()
  • Index(es):
    • Date
    • Thread