• 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
Cocoa Headers Inconsistent With Online Docs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cocoa Headers Inconsistent With Online Docs


  • Subject: Cocoa Headers Inconsistent With Online Docs
  • From: Daniel Todd Currie <email@hidden>
  • Date: Wed, 11 Feb 2004 14:40:59 -0800

The online cocoa documentation lists this method in NSObject:

- (void)performSelectorOnMainThread:(SEL)aSelector withObject:(id)arg waitUntilDone:(BOOL)wait

However, the NSObject.h file in /System/Library/Frameworks does not list this method. I assume this is why I'm getting a compiler warning on my app regarding my usage of -performSelectorOnMainThread:. The app works just fine though...

So where is this method actually declared? Why is there this inconsistency? What can I do about this compiler warning? (I really hate having compiler warnings.)

// Daniel Currie
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Cocoa Headers Inconsistent With Online Docs
      • From: Timothy Carl Buchheim <email@hidden>
    • Re: Cocoa Headers Inconsistent With Online Docs
      • From: Vince DeMarco <email@hidden>
    • Re: Cocoa Headers Inconsistent With Online Docs
      • From: Andreas Mayer <email@hidden>
    • Re: Cocoa Headers Inconsistent With Online Docs
      • From: Shawn Erickson <email@hidden>
    • Re: Cocoa Headers Inconsistent With Online Docs
      • From: lbland <email@hidden>
  • Prev by Date: Re: Possible bug in NSCalendarDate
  • Next by Date: Re: NSTableView selection and Drag&Drop
  • Previous by thread: NSSearchField with menu and cancel button
  • Next by thread: Re: Cocoa Headers Inconsistent With Online Docs
  • Index(es):
    • Date
    • Thread