Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: refactoring tools and xcode plugins



Not exactly what you are looking for, but may be helpful anyway ...

http://www.sunrise-tel.com/STSTemplateEngine.html

Not to be confused with C++ style templating, it is designed to generate plain text configuration files for various software packages (e.g. Apache, BIND) but it can be used to generate ObjC sources, too. It's written in ObjC (as a category of NSString) and could therefore be embedded into custom code that gets you a little closer to what you described. Otherwise you can always use it to expand templates as part of your build process (using a script target in Xcode for example).

I have used this to generate custom ObjC classes for authorisation (using the security framework) for various projects.

The default licensing is GPL, but you can ask for more flexible licensing or exceptions, which is usually granted.


On Apr 30, 2006, at 9:22 AM, Warner Onstine wrote:

I know I'm not the first to ask for this, but I really haven't seen any kind of resolution to the refactoring problem. I did find this page:
http://www.cocoadev.com/index.pl?ObjectiveCeeRefactoringProject


but there doesn't appear to be any kind of real coding activity surrounding it. One of the previous posts mentioned this tool:
http://www.kevincallahan.org/software/accessorizer.html
which definitely looks interesting and I'll be checking it out soon.


Another question that I saw on the list regarding refactoring was "Why do you need it, what would you gain?" Primarily the tools that I'm missing are these:
1) Renaming/Moving files and having XCode automatically clean stuff up for me
2) Renaming methods and having XCode clean up the references
3) Auto-generate methods from my header file in my impl file
4) Auto-generate methods from a formal/informal protocol for me (such as NSCoding or TableDataSource)
5) Allow me to specify methods from an interface/class that I would like to override


___________________________________________________________ Yahoo! Photos – NEW, now offering a quality print service from just 7p a photo http://uk.photos.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden


This email sent to email@hidden
References: 
 >refactoring tools and xcode plugins (From: Warner Onstine <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.