I have a .m file like this:
- (void) myMethod1 {
// bla bla
}
- (int) rotate:(int)value {
// bla bla
}
- (myClass *) processObject:(myClass *)object {
// bla bla
}
I would like to obtain this:
- (void) myMethod1;
- (int) rotate:(int)value;
- (myClass *) processObject:(myClass *)object;
or in other words, to extract from the .m all the method headers.
Is that possible to do that in Xcode/OSX? Thanks
You have to see the Objective-c RunTime Reference for doing this kind of jobs. This is an Example Project for getting this.