Possible to manipulate file template variable contents?
Possible to manipulate file template variable contents?
- Subject: Possible to manipulate file template variable contents?
- From: Daniel Jalkut <email@hidden>
- Date: Sun, 04 Dec 2005 12:18:00 -0500
I find it tedious to create new ObjC "Category" implementation files.
I always start with an "Objective-C Class" template and end up
editing it to suit "category" style.
I'm interesting in creating a custom template, but it seems the
variables available to me don't really allow what I want. Is it
possible to manipulate the value of, say, FILEBASENAME, before
injecting it into the resulting file?
I would like to, given a file name like "NSString+Extras", be able to
produce a template file with a line that looks like this:
@interface NSString (Extras)
I don't see any way to do this with the existing template variables.
Is there by any chance a magic "regex substitution" invoker or
anything that I can ask the template machinery to apply?
Daniel
_______________________________________________
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