Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Add unimplemented methods" in Xcode like in Eclipse

I'm looking for a shortcut or any possibility to add unimplemented Methods like I use it everytime in Eclipse.

What I mean is if I declare a method in my .h file like:

#pragma mark Getter -(NSDate *)date; -(unsigned int)number; -(double)longerNumber; 

and after this declaration I can go into my implementation .m file import this interface and press some combination or get an advice where I can click on to implement these methods automatically.

Does somebody know something about that possibility or another fast workflow?

Thanks in advance yves

like image 617
Yves Avatar asked Apr 26 '12 11:04

Yves


1 Answers

I don't think it is possible in xcode. You can post an enhancement request here..

You can just type "dash" then "space" and start typing the method name that you want to override. Now push Esc, you will get a list of all possible methods with that string you type. Atleast that reduce the pain of typing full method syntax.

enter image description here

This macrumours thread might be a good read..

like image 74
Krishnabhadra Avatar answered Sep 23 '22 05:09

Krishnabhadra