Re: ARC conversion help - CFErrorRef* and NSError**
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