Create App both for Tiger and Leopard
Create App both for Tiger and Leopard
- Subject: Create App both for Tiger and Leopard
- From: "Vitaly Ovchinnikov" <email@hidden>
- Date: Sun, 18 Jan 2009 10:50:25 +0300
Hello list,
I need to use NSPredicateEditor class in my app that should work both
on Tiger and Leopard. But Tiger doesn't have such control, so I
created two different NIBs and load one of them depending on current
platform. Each NIB has it's own owner-class that implements some
logic. Owner of NIB for Leopard works with NSPredicateEditor, owner of
NIB for Tiger - doesn't.
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?
Thank you.
_______________________________________________
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