• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: cross development on Jaguar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: cross development on Jaguar
      • From: m <email@hidden>
References: 
 >Re: cross development on Jaguar (From: Dennis Falling <email@hidden>)
 >Re: cross development on Jaguar (From: j o a r <email@hidden>)
 >Re: cross development on Jaguar (From: Dennis Falling <email@hidden>)
 >Re: cross development on Jaguar (From: Nick Zitzmann <email@hidden>)
 >Re: cross development on Jaguar (From: Dennis Falling <email@hidden>)
 >Re: cross development on Jaguar (From: Dennis Falling <email@hidden>)
 >Re: cross development on Jaguar (From: j o a r <email@hidden>)
 >Re: cross development on Jaguar (From: Dennis Falling <email@hidden>)
 >Re: cross development on Jaguar (From: Nick Zitzmann <email@hidden>)
 >Re: cross development on Jaguar (From: Dennis Falling <email@hidden>)

  • Prev by Date: Re: Arrays containing container -- retain cycle?
  • Next by Date: Re: textShouldNotEvenThinkAboutEndEditingIfItKnowsWhatIsGoodForIt
  • Previous by thread: Re: cross development on Jaguar
  • Next by thread: Re: cross development on Jaguar
  • Index(es):
    • Date
    • Thread