Code Snippets for XCode

Usage

Copy the included code snippets to ~/Library/Developer/Xcode/UserData/CodeSnippets

Input

@s for @property (strong, nonatomic) <#type#> <#name#>;

@w for @property (weak, nonatomic) <#type#> <#name#>;

@a for @property (assign, nonatomic) <#type#> <#name#>;

@c for @property (copy, nonatomic) <#type#> <#name#>;

single for singleton template

pm for #pragma mark - <#description#>

imn for [UIImage imageNamed:@"<#image name#>"]

get for property gettter template

mas_make for [<view> mas_makeConstraints:^(MASConstraintMaker *make){<code>}];

mas_update for [<view> mas_updateConstraints:^(MASConstraintMaker *make){<code>}];

mas_remake for [<view> mas_remakeConstraints:^(MASConstraintMaker *make){<code>}];