Xcode:code snippet libraryバックアップ

1298 ワード

フォルダへ:

 ~/Library/Developer/Xcode/UserData/CodeSnippets/   

次は私がよく使っているsnippetです.
Title: Animation Block Completion Shortcut: ab Completion Scopes: Function or Method
void (^)(void) = ^{ };
Title: Animation Completion Block Completion Shortcut: acb Completion Scopes: Function or Method
void (^)(BOOL) = ^(BOOL finished) { };
Title: Notification Add Completion Shortcut: na Completion Scopes: Function or Method
[[NSNotificationCenter defaultCenter] addObserver: selector: name: object:];
Title: Notification Remove Completion Shortcut: nr Completion Scopes: Function or Method
[[NSNotificationCenter defaultCenter] removeObserver: name: object:];
Title: NSLog Completion Shortcut: log Completion Scopes: Function or Method
NSLog(@"");
Title: Private Interface Completion Shortcut: pi Completion Scopes: Top Level
@interface ()
@end
Title: Property Assign Completion Shortcut: pa Completion Scopes: All
@property (assign, nonatomic)
Title: Property Strong Completion Shortcut: ps Completion Scopes: All
@property (strong, nonatomic)
Title: Property Unsafe Unretained Completion Shortcut: pu Completion Scopes: All
@property (unsafe_unretained, nonatomic)