Skip to content

Ethan89/CodeSnippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>}];

About

Code Snippets for XCode

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published