• 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: storage for context: value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: storage for context: value
      • From: Scott Ribe <email@hidden>
References: 
 >storage for context: value (From: Matt Neuburg <email@hidden>)
 >Re: storage for context: value (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: storage for context: value
  • Next by Date: Re: storage for context: value
  • Previous by thread: Re: storage for context: value
  • Next by thread: Re: storage for context: value
  • Index(es):
    • Date
    • Thread