• 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: __block __weak - am I doing this right?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: __block __weak - am I doing this right?


  • Subject: Re: __block __weak - am I doing this right?
  • From: Matt Neuburg <email@hidden>
  • Date: Sat, 18 Feb 2012 14:03:14 -0800

On Feb 18, 2012, at 12:00 PM, email@hidden wrote:

> Date: Sat, 18 Feb 2012 18:39:55 +0000
> From: steven Hooley <email@hidden>
> To: Fritz Anderson <email@hidden>
> Cc: email@hidden
> Subject: Re: __block __weak - am I doing this right?
> Message-ID:
> 	<email@hidden>
> Content-Type: text/plain; charset=windows-1252
>
> Thanks, I'm just surprised that this common, often cited example is broken.
>
> http://books.google.co.uk/books?id=bwQY3_5FMg8C&pg=PA775&lpg=PA775&dq=beginBackgroundTaskWithExpirationHandler&source=bl&ots=aMuw5-hiP6&sig=NFKFDhaPw41KnfOo1n7Z_OaJflM&hl=en&sa=X&ei=T-s_T76JEaOl0AW0y-iPDw&ved=0CGoQ6AEwCTgK#v=onepage&q=beginBackgroundTaskWithExpirationHandler&f=false
>
> That's an awful lot of broken code.

No duh. That's exactly *why* I've been asking about it - so I can fix it (and explain the fix) for the new edition:

https://plus.google.com/115941336284685245715/posts/H85LHwSDxP1

m.
_______________________________________________

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


  • Prev by Date: splitviews and subviews
  • Next by Date: Re: __block __weak - am I doing this right?
  • Previous by thread: Re: __block __weak - am I doing this right?
  • Next by thread: Re: __block __weak - am I doing this right?
  • Index(es):
    • Date
    • Thread