Re: Cocoa Headers Inconsistent With Online Docs
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.