Xcode: Possible to auto-create stubs for methods required by Protocol interface?
Accessorizer will write the encode and decode methods for ivars passed to it (NSCoding protocol and for NSDocument archiving). It will also generate string constants either static or #define with a custom prefix; copyWithZone:; and other things if you need - all from a simple shortcut via Services or from the toolbar. Accessorizer keyed archiving
Not the direŃt answer, just hint:
Out of the box XCode can't.
But AppCode can.
It can do this things automatically (with your permission, of course).
If some methods of protocol marked as @required
- AppCode will highlight the implementation and suggest to implement this methods.
@optional
methods also available to implement automatically (shortcut: control + I).