• 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: Michael Tsai <email@hidden>
  • Date: Fri, 4 Apr 2008 10:30:09 -0400

On Apr 3, 2008, at 9:14 PM, Jack Repenning wrote:

(1) When did NSCondition come to be? Cocoa Fundamentals Guide (as contained in my Leopard Xcode) has a Note: "The NSCondition class was introduced in Mac OS X v10.5. It is not available in earlier versions of the operating system." That would mean I can't use it, since I need to support 10.3.9 (and build on either 10.4 or 10.5). But clicking that word "NSCondition" in that very note leads to the class reference page, which says "Available in Mac OS X v10.0 and later." Eh?

It was present on 10.0, and with 10.5 Apple originally said that it was retroactively available on previous systems. You could just copy and paste the interface into one of your headers.


However, in trying to use it on 10.4, I found a deadlock bug that makes it unusable in the main situation where it would be preferable to NSConditionLock. Apple confirmed the bug and said that they will document NSCondition as requiring 10.5.


-- Michael Tsai <http://c-command.com>

_______________________________________________

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>)

  • Prev by Date: Re: NSAutoreleasePool causes crashes when empty?
  • Next by Date: Re: NSPopupButton Cell in NSTableView
  • Previous by thread: Re: NSCondition easter-egg hunt
  • Next by thread: Image in NSPopupButtonCell
  • Index(es):
    • Date
    • Thread