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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to