• 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
Tell if an OS feature exists?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tell if an OS feature exists?


  • Subject: Tell if an OS feature exists?
  • From: "Mike O'Connor" <email@hidden>
  • Date: Sun, 10 Apr 2005 23:45:33 -0400

My Cocoa app works fine in the latest system, but it uses a feature that is not in earlier systems. How can I tell at runtime if it is there or not?

Should I check the system version? This seems crude.

I use NS... classes that are not in older systems. Can I test to see if the NSSomething (AppKit) class exists, if so how?

I use stuff in a system framework that isn't there in older versions. How do I test to see if it exists?

TIA!

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Tell if an OS feature exists?
      • From: "John C. Warner" <email@hidden>
  • Prev by Date: Re: Structuring multi-framework projects
  • Next by Date: NSImageRep
  • Previous by thread: Objective-C third party framework/code repository... (Semi-OT?)
  • Next by thread: Re: Tell if an OS feature exists?
  • Index(es):
    • Date
    • Thread