• 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
Script to add/change prefixes projectwide
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Script to add/change prefixes projectwide


  • Subject: Script to add/change prefixes projectwide
  • From: Drew McCormack <email@hidden>
  • Date: Sat, 3 May 2003 19:27:37 +0200

Have you ever started a project using one prefix (such as the "NS" in
"NSObject"), and later wished you could change it? Or have you started
with some toy project, omitting a prefix altogether, only to regret it
later when your toy became a real boy?

I've just written a python script that can either add a prefix project
wide to classes, protocols, strings, etc, or change an existing prefix.
It works pretty reliably, though not 100%. I have just used it to add
prefixes to my soon to be released plotting framework, Narrative, and
it has been an enormous benefit. I thought many of you could find a use
for this script, so I am posting it.

If you want to use it, I STRONGLY RECOMMEND A BACKUP OF YOUR PROJECT
BEFORE DOING SO.

[demime 0.98b removed an attachment of type application/octet-stream which had a name of prefixer.py]
Enjoy,
Drew

----------------------------------
Dr. Drew McCormack
Trade Strategist (www.trade-strategist.com)
Stock Market strategy design platform for Mac OS X.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Bug/limitation in referencing controls in AS Studio
  • Next by Date: Script to add/change prefixes projectwide (AGAIN)
  • Previous by thread: Re: Bug/limitation in referencing controls in AS Studio
  • Next by thread: Script to add/change prefixes projectwide (AGAIN)
  • Index(es):
    • Date
    • Thread