Xcode custom code block, xcode custom
Only now can I find that Xcode has such a magical function as a custom code block, which can simplify a lot of boring work on repetitive code. How can I know !!! For specific setup procedures see: http://nshipster.cn/xcode-snippets/ or http://www.sufeinet.com/thread-8732-1-1.html and then I also write a few of my commonly used to put on github: https://github.com/phelthas/lxmsnippetsuse :to copy this. codesnippetfile ~ /Library/Developer/Xcode/UserData/CodeSnippets/directory. Restart Xcode ~ Be sure to exit Xcode completely. The following are some highlights of Xcode, but not all of them ~ I think it's a bit cool to see a line of code with just a few letters ~ Currently supported: In @ interface, strong-> @ property (nonatomic, strong) type name; weak-> @ property (nonatomic, weak) type name; copy-> @ property (nonatomic, copy) type name; assign-> @ property (nonatomic, assign) type name; integer-> @ property (nonatomic, assign) NSInteger name; float-> @ property (nonatomic, assign) CGFloat name; array-> @ property (nonatomic, strong) NSArray * name; string-> @ property (nonatom Ic, copy) NSString * name; delegate-> @ property (nonatomic, weak) id <xxxDelegate> delegate; then add it to the file ~