Generated Getters and Setters

Hi,


I am new to development in XCode, while I am enjoying it so far there is one feature common in other IDE's ( Netbeans/eclipse/intellij since my background is java) is generating an init function and generate getters and setters for your private vars.


Does xcode have a hot key or menu option that I am just not seeing for creating getters/setters and init funcitons or do we simply have to type them out?


Thanks for your time,

Chris

You can create in XCode your own code templates.


Select any text file

Then click on snippets (icon at top right, and select Library ( { } icon )


AFAIK, those are not included.

Generated Getters and Setters
 
 
Q