If I type several method definitions in an Objective-C header file (.h) is there a way to get XCode to stub those methods out in a implementation file (.m)? I suppose I could just cut and paste, but surely it can do it on its own.
I don't believe there is anything built into Xcode to do this particular task. I agree with you that it would be a nice enhancement.
Perhaps a user script could be created to analyze the current file or selection, open the corresponding source file, and add stubs for any items that aren't found. But I doubt this would be a simple undertaking.
I think I am just spoiled by IntelliJ when doing Java development. It takes care of stuff like that for me (interface implementation, method overriding, live templates, file templates, etc).
Another nice one would be if it would provide empty implementations for delegate methods.
Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.