• 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
performSelectorOnMainThread primitives for withObject
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

performSelectorOnMainThread primitives for withObject


  • Subject: performSelectorOnMainThread primitives for withObject
  • From: Torsten Curdt <email@hidden>
  • Date: Wed, 22 Apr 2009 18:13:19 +0200

Hey folks,

Is this supposed to work or not?

  - (void) setActivated:(BOOL)theStatus;

  [view performSelectorOnMainThread:@selector(setActivated:)
withObject:[NSNumber numberWithBool:YES] waitUntilDone:YES];

It does not seem like it works that way.

Do I really have to use NSInvocation for this?

cheers
--
Torsten
_______________________________________________

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: performSelectorOnMainThread primitives for withObject
      • From: Keith Duncan <email@hidden>
    • Re: performSelectorOnMainThread primitives for withObject
      • From: Michael Ash <email@hidden>
    • Re: performSelectorOnMainThread primitives for withObject
      • From: Ken Thomases <email@hidden>
    • Re: performSelectorOnMainThread primitives for withObject
      • From: Volker in Lists <email@hidden>
  • Prev by Date: Re: Problem implementing keyPathsForvaluesAffecting<Key>
  • Next by Date: Re: Problem implementing keyPathsForvaluesAffecting<Key>
  • Previous by thread: Combine multiple sources into an NSOutlineView using NSTreeController
  • Next by thread: Re: performSelectorOnMainThread primitives for withObject
  • Index(es):
    • Date
    • Thread