• 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
Re: refactoring tools and xcode plugins
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: refactoring tools and xcode plugins


  • Subject: Re: refactoring tools and xcode plugins
  • From: ObjM2 <email@hidden>
  • Date: Sun, 30 Apr 2006 14:04:46 +0900

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:

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

  • Prev by Date: [SOLVED] Fwd: Incorrect flipping when manually drawing NSCells (was: Fwd: -isFlipped not working right when drawing IconAndTextCell to NSImage)
  • Next by Date: Re: Distributed objects: Code required on both sides?
  • Previous by thread: Re: refactoring tools and xcode plugins
  • Next by thread: undo in a sheet
  • Index(es):
    • Date
    • Thread