• 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: Threaded drawing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Threaded drawing


  • Subject: Re: Threaded drawing
  • From: Clark Smith Cox III <email@hidden>
  • Date: Sat, 07 Dec 2013 10:10:47 -0800

On Dec 6, 2013, at 7:27, Graham Cox <email@hidden> wrote:

>
> On 6 Dec 2013, at 11:26 am, Graham Cox <email@hidden> wrote:
>
>> 				NSBlockOperation* op = [NSBlockOperation blockOperationWithBlock:^
>> 				{
>> 					CGContextClipToRect( ncx, tileRect );
>>
>> 					[self drawTile:tileRect inContext:ncx];
>> 				}];
>
>
> A question for blocks experts:
>
> Is the value of <tileRect> here captured when the block is created,or when it is run?

It is captured when the block is created.

--
Clark Smith Cox III
email@hidden
_______________________________________________

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: 
 >Threaded drawing (From: Graham Cox <email@hidden>)
 >Re: Threaded drawing (From: Graham Cox <email@hidden>)
 >Re: Threaded drawing (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Correct use of CFArraySortValues context parameter
  • Next by Date: What are the contents of NSPasteboardTypeFont?
  • Previous by thread: Re: Threaded drawing
  • Next by thread: Autolayout Greedy Fill question
  • Index(es):
    • Date
    • Thread