• 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: Anything like -[performBlockOnMainThread:]?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Anything like -[performBlockOnMainThread:]?


  • Subject: Re: Anything like -[performBlockOnMainThread:]?
  • From: Dave DeLong <email@hidden>
  • Date: Mon, 15 Mar 2010 15:45:32 -0600

Correct, because when you dispatch a block to a queue, the queue has no parameters to give to the block.  It also has no place to return to.  Hence the block signature is "void (^)(void)".

Dave

On Mar 15, 2010, at 3:43 PM, Rick Mann wrote:

> Oh, hmm. I guess my blocks can't receive parameters in this case.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: 
 >Anything like -[performBlockOnMainThread:]? (From: Rick Mann <email@hidden>)
 >Re: Anything like -[performBlockOnMainThread:]? (From: Clark Cox <email@hidden>)
 >Re: Anything like -[performBlockOnMainThread:]? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Anything like -[performBlockOnMainThread:]?
  • Next by Date: Re: Anything like -[performBlockOnMainThread:]?
  • Previous by thread: Re: Anything like -[performBlockOnMainThread:]?
  • Next by thread: Re: Anything like -[performBlockOnMainThread:]?
  • Index(es):
    • Date
    • Thread