Re: NSCondition easter-egg hunt
Re: NSCondition easter-egg hunt
- Subject: Re: NSCondition easter-egg hunt
- From: "Shawn Erickson" <email@hidden>
- Date: Thu, 3 Apr 2008 20:27:37 -0700
NSCondition has existed since before 10.0 but simply not included in
any headers.
You can use it on any version of Mac OS X by simply conditionally
defining the class in a header of your own. Apple (well at least a few
developers) has recommended this in the past.
@interface NSCondition : NSObject <NSLocking> {}
- (void)wait;
- (BOOL)waitUntilDate:(NSDate *)limit;
- (void)signal;
- (void)broadcast;
@end
-Shawn
_______________________________________________
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