• 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: NSCondition easter-egg hunt
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSCondition easter-egg hunt (From: Jack Repenning <email@hidden>)
 >Re: NSCondition easter-egg hunt (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: Autorelease question
  • Next by Date: Toolbar Item In NSDocument accessing controller in MainMenu.nib
  • Previous by thread: Re: NSCondition easter-egg hunt
  • Next by thread: Re: NSCondition easter-egg hunt
  • Index(es):
    • Date
    • Thread