• 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: Tips to deploy applications to multiple Mac OS X versions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tips to deploy applications to multiple Mac OS X versions


  • Subject: Re: Tips to deploy applications to multiple Mac OS X versions
  • From: "Michael Ash" <email@hidden>
  • Date: Fri, 11 Apr 2008 00:37:29 -0400

On Fri, Apr 11, 2008 at 12:26 AM, Jerry Krinock <email@hidden> wrote:
>  That's fine if the classes exist in all the OS versions, but more commonly
> you'll want to use complete classes that are not available in earlier SDK,
> of which there are many, especially in Leopard.  Code instantiating such
> classes must be put in separate bundles that are loaded when the user
> activates a Tiger/Leopard-only feature that requires instantiating a
> Tiger/Leopard-only class.

This is only true if you are subclassing these classes. If you're only
messaging/instantiating them, then you can use NSClassFromString
instead of the raw class name to safely reference them without blowing
up on the OSes that don't have them.

Mike
_______________________________________________

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: 
 >Tips to deploy applications to multiple Mac OS X versions (From: Lorenzo Bevilacqua <email@hidden>)
 >Re: Tips to deploy applications to multiple Mac OS X versions (From: David Duncan <email@hidden>)
 >Re: Tips to deploy applications to multiple Mac OS X versions (From: Ben Lachman <email@hidden>)
 >Re: Tips to deploy applications to multiple Mac OS X versions (From: Steve Christensen <email@hidden>)
 >Re: Tips to deploy applications to multiple Mac OS X versions (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Tips to deploy applications to multiple Mac OS X versions
  • Next by Date: Re: Making use of Core 2 features without 64bit addressing
  • Previous by thread: Re: Tips to deploy applications to multiple Mac OS X versions
  • Next by thread: Re: Tips to deploy applications to multiple Mac OS X versions
  • Index(es):
    • Date
    • Thread