Is it possible to get xcode to generate the method stubs for the methods that you define in your header file? I’m not talking about protocol methods but your own custom methods in your class.
Cheers
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I believe Xcode does not have a command to generate stubs for all (or all unimplemented) methods. However, you can have Xcode generate at least the method signature per method.
If you define, for example, the following method declarations:
you can generate the method signatures by putting the appropriate sign (
+/-) [I forgot the term 🙂 ] plus the first few characters per method.For example:
- av(case insensitive) and CodeSense will automatically (most likely) choose- (void)aVoidMethod+ clto generate method signature for+ (void)classMethod