Re: storage for context: value
Re: storage for context: value
- Subject: Re: storage for context: value
- From: Matt Neuburg <email@hidden>
- Date: Thu, 25 Jul 2013 07:50:47 -0700
On Jul 25, 2013, at 7:33 AM, Scott Ribe <email@hidden> wrote:
> If you alloc an object per callback setup, right where you set up the callback, and release it in the callback, you're safe--and that's a very common pattern I think
But surely that can't work, since you set up the call once but you can get called back many times - or am I misunderstanding? m.
--
matt neuburg, phd = email@hidden, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 6! http://shop.oreilly.com/product/0636920029717.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
_______________________________________________
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