• 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: 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

  • Follow-Ups:
    • Re: OS_OBJECT_USE_OBJC_RETAIN_RELEASE and xpc_release()
      • From: Greg Parker <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>)

  • Prev by Date: Re: NSAttributedString mysteriously truncated too soon
  • Next by Date: Re: OS_OBJECT_USE_OBJC_RETAIN_RELEASE and xpc_release()
  • 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