• 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: Version Nib Loading?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Version Nib Loading?


  • Subject: Re: Version Nib Loading?
  • From: "I. Savant" <email@hidden>
  • Date: Wed, 20 Jun 2007 12:29:53 -0400

On 6/20/07, Jeff Alexander <email@hidden> wrote:
>>But wouldn't it be better if it was possible to provide different nib
versions in your application and have the Cocoa framework load the
most appropriate one depending on the OS release?<<

Do the new Nib as a localized Nib (if you have an internationalized app, and you should :) and register it in one of those region/languages it is unlikely (really unlikely) to be distributed in. You don't actually have to translate it from English of course; but unless a user has that language in which you've registered it as anything like a default they wouldn't load it anyway.

Admittedly, I've only skimmed this thread and may be missing something, but ... you're given a mechanism to specify the nib *name* in several places. Why not dynamically return the appropriate nib NAME and have nibs like, "MyDocument104.nib" and "MyDocument105.nib" or something similar?

 Why rely on obscurity to do the right thing? Some day you may *want*
to localize to that language and then you'll have *two* things to
change ...

--
I.S.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


References: 
 >Re: Version Nib Loading? (From: "Jeff Alexander" <email@hidden>)

  • Prev by Date: RE: Version Nib Loading?
  • Next by Date: Re: Special Characters / Character Palette
  • Previous by thread: Re: Version Nib Loading?
  • Next by thread: RE: Version Nib Loading?
  • Index(es):
    • Date
    • Thread