CodeSnippet

@bingoogolapple 2015-04-12 05:54:59发表于 bingoogolapple/bingoogolapple.github.io iOS

lazy

- <#pname#> {
if(!_<#pname#>) {
    _<#pname#> = [[<#class#> alloc] init];
    }
    return _<#pname#>;
}

copy

@property (nonatomic, copy) NSString *<#pname#>;

strong

@property (nonatomic, strong) <#type#> *<#pname#>;

assign

@property (nonatomic, assign) <#type#> <#pname#>;