Re: Create App both for Tiger and Leopard
Re: Create App both for Tiger and Leopard
- Subject: Re: Create App both for Tiger and Leopard
- From: "Vitaly Ovchinnikov" <email@hidden>
- Date: Sun, 18 Jan 2009 13:15:02 +0300
Well, after reading your link one more time, I found this:
http://developer.apple.com/documentation/DeveloperTools/Conceptual/cross_development/Using/chapter_3_section_4.html#//apple_ref/doc/uid/20002000-1114537
So, I am right for Tiger and Leo, that OSX uses lazy loading and if I
never call NSPredicateEditor-related code, I will have no problems on
Tiger?
Thank you.
On Sun, Jan 18, 2009 at 1:11 PM, Vitaly Ovchinnikov
<email@hidden> wrote:
> There are many common words, but no answer on my question. The
> question is simple: can I include some Leopard-only code that will
> never be executed on Tiger? Will Tiger run such app or, like Windows,
> it will try to load all referred classes first?
>
> On Sun, Jan 18, 2009 at 11:12 AM, Rob Keniger <email@hidden> wrote:
>>
>> On 18/01/2009, at 5:50 PM, Vitaly Ovchinnikov wrote:
>>
>>> When I try to compile the code against 10.4 SDK - I receive a lot of
>>> errors because there is no NSPredicateEditor on Tiger. I switched
>>> target platform version to 10.5 and now it compiles and links without
>>> a problem. I also set Deployment Target to 10.4. But will it run on
>>> Tiger? I will not call any NSPredicateEditor-related code if the app
>>> will run on Tiger, but maybe Tiger will not load this app at all. I
>>> don't have Tiger right now to check this, so maybe someone will help.
>>>
>>> Simple version of the question: when Mac OS X checks presents of types
>>> used in the code? At loading or at executing?
>>
>>
>> You need to read the cross-development programming guide:
>>
>> http://developer.apple.com/documentation/DeveloperTools/Conceptual/cross_development/
>>
>> --
>> Rob Keniger
>>
>>
>>
>> _______________________________________________
>>
>> 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
>>
>
_______________________________________________
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