• 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:36:33 -0800

On Sat, Feb 28, 2009 at 10:30 AM, Shawn Erickson <email@hidden> wrote:
> 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.

Humm cannot find the doc I recall but the following outlines a way to
do what I think you are asking (note NSClassFromString())...

<http://developer.apple.com/documentation/Cocoa/Conceptual/DisplayWebContent/Tasks/WebKitAvail.html#//apple_ref/doc/uid/20001846-171578>

-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: xEsk PiV <email@hidden>
References: 
 >MacOS X 10.4 and 10.5 (From: xEsk PiV <email@hidden>)
 >Re: MacOS X 10.4 and 10.5 (From: Shawn Erickson <email@hidden>)

  • Prev by Date: "Pausing" other programs
  • Next by Date: Re: MacOS X 10.4 and 10.5
  • 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