Re: cross development on Jaguar
Re: cross development on Jaguar
- Subject: Re: cross development on Jaguar
- From: m <email@hidden>
- Date: Thu, 2 Dec 2004 12:45:57 -0800
On Dec 2, 2004, at 12:17 PM, Nick Zitzmann wrote:
On Dec 2, 2004, at 1:03 PM, Dennis Falling wrote:
Is there any way to design an application to use two different nibs
based on the version?
Yes, if the nib is not the main nib file. You could do something like
this, for example:
[snip]
I tried this technique once and it wasn't worth the hassle of keeping
the two nibs in synch as the design progressed or changed.
Conditionally using 10.3 features is the way to go.
Start here:
<http://developer.apple.com/documentation/DeveloperTools/Conceptual/
cross_development/CrossDevelopment.html>
I should also mention that if you rely on a class that exists on 10.3
but not 10.2 (as opposed to simply methods that are missing on 10.2),
things get a bit more complicated. You have to ensure that your nib
doesn't try to instantiate any classes that aren't present on 10.2. You
can dynamically swap in the class you really want after loading the
nib, depending on whether you'r in 10.2. or 10.3.
_murat
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden