Re: cross development on Jaguar
Re: cross development on Jaguar
- Subject: Re: cross development on Jaguar
- From: Nick Zitzmann <email@hidden>
- Date: Thu, 2 Dec 2004 13:17:49 -0700
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:
if (NSAppKitVersionNumber <= floor(NSAppKitVersionNumber10_2))
{
[NSBundle loadNibNamed:@"JaguarAndEarlier" owner:self];
}
else
{
[NSBundle loadNibNamed:@"PantherAndLater" owner:self];
}
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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