Auto create methods

Is is possible with appcode auto-generate a new method when call it?

So when i write

[myobject mynewmethod]


i can create a new method like

-(void)mynewmethod {};


thanks

2 comments

Yes, you can. You can fix most of errors/warnings in your code by pressing alt+enter.

0

Yes.

Type the method as you said, then with the caret somewhere in the method call, hit Alt-Enter and choose to create a method (or a property).
This will insert the method declaration in the header, and put an empty implementation in the implementation section.

0

Please sign in to leave a comment.