• 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: MacOS X 10.4 and 10.5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MacOS X 10.4 and 10.5


  • Subject: Re: MacOS X 10.4 and 10.5
  • From: Shawn Erickson <email@hidden>
  • Date: Sat, 28 Feb 2009 10:30:32 -0800

On Sat, Feb 28, 2009 at 10:15 AM, xEsk PiV <email@hidden> wrote:
> Hello,
>
> I have some doubts with MacOS X 10.5 and 10.4:
>
> 1) If I compile my application with MacOS X SDK 10.5 and I run it
> under MacOS X SDK 10.4 (and I don't use any explicit 10.5 class) it
> will run without problems?

(small nit on terminology... you don't run under an SDK)

Yes* but only if you specify the (min) target OS as 10.4 and SDK as 10.5.

Review...
<http://developer.apple.com/documentation/DeveloperTools/Conceptual/cross_development/HowItWorks/chapter_2_section_3.html>

* Also test on both 10.5 and 10.4 because variations in how the
frameworks function can bite your.

> 2) If I use a specific 10.5 class (i.e: NSDockTile) is obvious it
> won't run under MacOS X 10.4, but if I code something like this, will
> run under MacOS X 10.4?

Selective use of a class at runtime is a little more difficult given
how trivial it is to test for method support (respondsToSelector:)...
Let me see if I can find a good example of how to selectively use a
class at runtime.

-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

  • Follow-Ups:
    • Re: MacOS X 10.4 and 10.5
      • From: Shawn Erickson <email@hidden>
References: 
 >MacOS X 10.4 and 10.5 (From: xEsk PiV <email@hidden>)

  • Prev by Date: Re: MacOS X 10.4 and 10.5
  • Next by Date: "Pausing" other programs
  • Previous by thread: Re: MacOS X 10.4 and 10.5
  • Next by thread: Re: MacOS X 10.4 and 10.5
  • Index(es):
    • Date
    • Thread