Checkout to: ~/Library/Developer/Xcode/UserData/CodeSnippets/
#pragma clang diagnostic push
#pragma clang diagnostic ignored "<#-W warning#>"
<#code#>
#pragma clang diagnostic pop
dispatch_async(dispatch_get_global_queue( DISPATCH_QUEUE_PRIORITY_LOW, 0), ^{
<#code#>
});
dispatch_async(dispatch_get_main_queue(), ^{
<#code#>
});
static id <#object#>;
static dispatch_once_t once;
dispatch_once(&once, ^{
<#object#> = <#value#>;
});
- (id)init{
if(!(self = [super init])){
return nil;
}
<#code#>
return self;
}
NSLog(@"%@:%@", NSStringFromClass([self class]), NSStringFromSelector(_cmd));
NSLog(@"%@", NSStringFromSelector(_cmd));
@property (nonatomic, strong) NSArray *<#propertyName#>;
@property (nonatomic, strong) NSDictionary *<#propertyName#>;
@property (nonatomic, copy) NSNumber *<#propertyName#>;
@property (nonatomic, copy) NSString *<#propertyName#>;
#pragma mark - <#section#>
@property (nonatomic, <#attribute#>) <#ClassName#> *<#propertyName#>;
#if !__has_feature(objc_arc)
#error <#library#> must be built with ARC.
// You can turn on ARC for only <#library#> files by adding -fobjc-arc to the build phase for each of its files.
#endif
Generated by readme.py: python readme.py