• 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
Preprocessing .nib files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Preprocessing .nib files?


  • Subject: Preprocessing .nib files?
  • From: "xcode-dev" <email@hidden>
  • Date: Tue, 14 Feb 2006 09:08:16 -0700

Hi everyone,

Suppose I have a product being sold through two distribution channels. For example, "SuperApp" is
going to be sold by "CompanyA" and "EasyApp" is going to be sold through "OrganisationB".

I have the product name and the company name in several places in my (Carbon) nib files.

Is there any way to preprocess the files, or include placeholder wildcards, that would automatically
substitute the correct text at build time?

Or do I have to programmatically grab each string and replace with the correct values at runtime?

Right now I have separate copies of my nib files, one for each vendor. I would like to somehow combine
these into one copy, if possible. Doing so would greatly simplify my life as new features are added.

I've thought about trying the localisation mechanism, but since both versions are in English I was
unsure if this would work.

Thanks for any advice,
Bill


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Preprocessing .nib files?
      • From: Shriniwas Kulkarni <email@hidden>
    • Re: Preprocessing .nib files?
      • From: Jonathon Mah <email@hidden>
  • Prev by Date: Re: Header files get copied to app bundle?
  • Next by Date: Re: Header files get copied to app bundle?
  • Previous by thread: Re: Header files get copied to app bundle?
  • Next by thread: Re: Preprocessing .nib files?
  • Index(es):
    • Date
    • Thread