• 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: Blocks and Methods...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Blocks and Methods...


  • Subject: Re: Blocks and Methods...
  • From: Ben Kennedy <email@hidden>
  • Date: Sat, 28 Jan 2012 13:15:58 -0800

On 28 Jan 2012, at 8:51 am, Ken Thomases wrote:

> By itself, an array only retains the block.  A block must be explicitly copied if it is to outlive the scope that created it.

If so, isn't that a fundamental semantic change to the meaning of "retain"?  On any other object a retain will cause it to outlive the scope that created it.

(Admittedly I still have much reading and head-wrapping to do w/rt the mechanics of blocks)

b


_______________________________________________

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: 
 >Blocks and Methods... (From: R <email@hidden>)
 >Re: Blocks and Methods... (From: Mike Abdullah <email@hidden>)
 >Re: Blocks and Methods... (From: R <email@hidden>)
 >Re: Blocks and Methods... (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: Blocks and Methods...
  • Next by Date: Re: Blocks and Methods...
  • Previous by thread: Re: Blocks and Methods...
  • Next by thread: Trying to customize UITableViewCell with IB but having odd exception
  • Index(es):
    • Date
    • Thread