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

Re: Cocoa Headers Inconsistent With Online Docs


  • Subject: Re: Cocoa Headers Inconsistent With Online Docs
  • From: Andreas Mayer <email@hidden>
  • Date: Thu, 12 Feb 2004 01:03:41 +0100

Am 11.02.2004 um 23:40 schrieb Daniel Todd Currie:

So where is this method actually declared? Why is there this inconsistency? What can I do about this compiler warning?

In <Foundation/NSThread.h>. There is no 'inconsistency'. You should import Foundation.

-------
/* NSThread.h
Copyright (c) 1994-2003, Apple, Inc. All rights reserved.
*/

#import <Foundation/NSObject.h>

[...]

#if MAC_OS_X_VERSION_10_2 <= MAC_OS_X_VERSION_MAX_ALLOWED
@interface NSObject (NSMainThreadPerformAdditions)

- (void)performSelectorOnMainThread:(SEL)aSelector withObject:(id)arg waitUntilDone:(BOOL)wait modes:(NSArray *)array;
- (void)performSelectorOnMainThread:(SEL)aSelector withObject:(id)arg waitUntilDone:(BOOL)wait;
// equivalent to the first method with kCFRunLoopCommonModes

@end
#endif
-------


bye. Andreas.
_______________________________________________
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.

References: 
 >Cocoa Headers Inconsistent With Online Docs (From: Daniel Todd Currie <email@hidden>)

  • Prev by Date: Re: Cocoa Headers Inconsistent With Online Docs
  • Next by Date: Very very simple applescript..... hmmm.
  • Previous by thread: Re: Cocoa Headers Inconsistent With Online Docs
  • Next by thread: Re: Cocoa Headers Inconsistent With Online Docs
  • Index(es):
    • Date
    • Thread