fix for Optional

This commit is contained in:
Tony Tam 2015-03-29 19:41:24 -07:00
parent 63fae85ff4
commit 8de8f48679

View File

@ -12,8 +12,9 @@
@interface {{classname}} : SWGObject
{{#vars}}
{{#description}}/* {{{description}}} {{#isNotRequired}}[optional]{{/isNotRequired}} */{{/description}}
@property(nonatomic) {{{ datatype }}}{{#isNotRequired}}<Optional>{{/isNotRequired}} {{name}};
{{#description}}/* {{{description}}} {{^required}}[optional]{{/required}}
*/{{/description}}
@property(nonatomic) {{{ baseType }}}{{^required}}<Optional{{#complexType}}, {{complexType}}{{/complexType}}>{{/required}}* {{name}};
{{/vars}}
@end