• 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: ARC, blocks, capture variables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ARC, blocks, capture variables


  • Subject: Re: ARC, blocks, capture variables
  • From: Scott Ribe <email@hidden>
  • Date: Sun, 27 Sep 2015 19:51:07 -0600

On Sep 27, 2015, at 7:03 PM, Quincey Morris <email@hidden> wrote:
>
> IIRC you can simply assign ‘self’  to a local variable just before assigning to ‘fun', and use the local variable name instead of ‘self’ inside the block.

Well, that does work. Thanks!

--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
https://www.linkedin.com/in/scottribe/
(303) 722-0567 voice






_______________________________________________

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: ARC, blocks, capture variables
      • From: Scott Ribe <email@hidden>
References: 
 >ARC, blocks, capture variables (From: Scott Ribe <email@hidden>)
 >Re: ARC, blocks, capture variables (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: ARC, blocks, capture variables
  • Next by Date: Re: Drawing many different strings quickly
  • Previous by thread: Re: ARC, blocks, capture variables
  • Next by thread: Re: ARC, blocks, capture variables
  • Index(es):
    • Date
    • Thread