• 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: ARC conversion help - CFErrorRef* and NSError**
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ARC conversion help - CFErrorRef* and NSError**


  • Subject: Re: ARC conversion help - CFErrorRef* and NSError**
  • From: Ken Thomases <email@hidden>
  • Date: Tue, 30 Oct 2012 05:18:14 -0500

On Oct 30, 2012, at 4:39 AM, Rick Mann wrote:

> Then again, I ran into a problem that I don't know how to properly solve, using CFSockets. I need to retain an NSObject I pass into CFSocket, and have it released when the socket is released, not when a callback occurs, but there's no good way to do that.

That's what the CFSocketContext structure is for.  Yes, it uses callbacks, but I think these are different from what you're referring to, which I assume is the CFSocketCallBack.

Regards,
Ken


_______________________________________________

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

References: 
 >ARC conversion help - CFErrorRef* and NSError** (From: Alex Kac <email@hidden>)
 >Re: ARC conversion help - CFErrorRef* and NSError** (From: John McCall <email@hidden>)
 >Re: ARC conversion help - CFErrorRef* and NSError** (From: Rick Mann <email@hidden>)
 >Re: ARC conversion help - CFErrorRef* and NSError** (From: Quincey Morris <email@hidden>)
 >Re: ARC conversion help - CFErrorRef* and NSError** (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: ARC conversion help - CFErrorRef* and NSError**
  • Next by Date: Re: Cocoa-dev Digest, Vol 9, Issue 751
  • Previous by thread: Re: CFNetworking and ARC (was: ARC conversion help - CFErrorRef* and NSError**)
  • Next by thread: Re: Cocoa-dev Digest, Vol 9, Issue 751
  • Index(es):
    • Date
    • Thread