• 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
Automated editing of binding names in nibs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Automated editing of binding names in nibs


  • Subject: Automated editing of binding names in nibs
  • From: Jon Hendry <email@hidden>
  • Date: Tue, 01 Dec 2009 13:10:10 -0500

Is there any way to, in an automated fashion, batch-modify the bindings in a nib?

We have plugin projects which we often 'clone' in order to produce a new, similar plugin.

Each plugin has a number of nibs, which are largely similar between projects.

The cloning script we have takes an existing project, and the prefix used in its class names, constants, and variables, and does all the appropriate substitutions in source code and property lists.

For example, if the original project is called "Microstim Staircase", it'll use the prefix MSS throughout the project (MSSSpatialFreqCPDKey, etc). The cloning script takes "Microstim Staircase", "MSS", and a new project name and a new prefix, and processes the source files accordingly.

It also changes the names of the nib files, but to update the bindings to use the new prefix, a person has to go through the nibs, find all the bindings, and change them. For example, the text field for setting Spatial Frequency needs to have its binding changed from MSSSpatialFreqCPD to XXSpatialFreqCPD. This is error-prone.

Is there any way to automate this process?
 _______________________________________________
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: SPAM-LOW: Automated editing of binding names in nibs
      • From: "Paul Sanders" <email@hidden>
    • Re: Automated editing of binding names in nibs
      • From: lbland <email@hidden>
  • Prev by Date: Re: understanding guard malloc breaks
  • Next by Date: Re: Automated editing of binding names in nibs
  • Previous by thread: Re: understanding guard malloc breaks
  • Next by thread: Re: Automated editing of binding names in nibs
  • Index(es):
    • Date
    • Thread