In objective-c/xcode, is there a way to write the definition of a method in the implementation and have automatically added to the header file?
A:
Not that I know of. Often private methods are created in the implementation which you don't want to put in the header file, something which would be defeated if method signatures were automatically added to the header file.
Devin Ceartas
2009-10-25 19:01:02
A:
You could write a user script to do this. That would probably be about the closest thing to having it done automatically...
But as noted, you don't necessarily want every method you write to go in the header, so it's better to do it selectively.
Kendall Helmstetter Gelner
2009-10-25 23:07:00