Creates a body of an overridden getter method for a property when it is generated,
for example, when calling the Code | Override Method action. The template is editable. Along with Objective-C expressions and comments, you can use predefined variables that will be then expanded into the corresponding values. |
The predefined variables will take the following values: | ||
a super method call, for void methods — [super methodName] with or without parameters;
for other methods — return [super methodName] with or without parameters
|
||
the return type of the created method | ||
the value returned by the method by default | ||
the name of the class where the method is overridden | ||
"true" when the property has an instance variable | ||
the name of the instance variable | ||
in ARC-mode: "copyArc" when the copy attribute is set, "assign" otherwisein non-ARC mode: "copy" when the copy attribute is set, "retain" when the retain attribute is set, "assign" otherwise |
||
All the predefined variables from the C File Header template (the Includes tab) are also available (${USER}, ${DATE}, etc.) |