• 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: [iPhone 3.1] NSInvocation on main thread?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iPhone 3.1] NSInvocation on main thread?


  • Subject: Re: [iPhone 3.1] NSInvocation on main thread?
  • From: Peter Blazejewicz <email@hidden>
  • Date: Thu, 11 Feb 2010 09:21:51 +0100

Hi John,
NSInvocation can be invoked on main thread as any NSObject subclass
simply by performing selector on itself on main thread,
However I think you're looking for custom additions similar to that
one blogged here (Dave Dribin's blog):
http://www.dribin.org/dave/blog/archives/2008/05/22/invoke_on_main_thread/

hth,
regards,
Peter

On Thu, Feb 11, 2010 at 8:09 AM, John Michael Zorko <email@hidden> wrote:
>
> Hello, all ...
>
> I'm using NSInvocation so I can pass multiple arguments to delegate methods. However, I also want these delegate methods to get called on the main thread. Is there a way that I can use NSInvocation to call the method it wraps on the main thread, like performSelectorOnMainThread?
_______________________________________________

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: 
 >[iPhone 3.1] NSInvocation on main thread? (From: John Michael Zorko <email@hidden>)

  • Prev by Date: Re: Core Data: Insert, Fetch, Re-Fetch. Same Object?
  • Next by Date: Re: [ANN] CocoaHeads Paris group meeting
  • Previous by thread: [iPhone 3.1] NSInvocation on main thread?
  • Next by thread: NSAttributtedString initWithHTML skip styles
  • Index(es):
    • Date
    • Thread