【文件属性】:
文件名称:appcode-live-templates:AppCode的实时模板的集合
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-30 20:43:38
appcode-live-templates
AppCode的实时模板的集合
自己
插入对自身的弱引用。
__weak typeof(self) weakSelf = self;
后
在代码块之后插入调度。
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, $TIME$ * NSEC_PER_SEC), dispatch_get_main_queue(), ^{
$CODE$;
});
时间
插入调度时间代码块。
dispatch_time(DISPATCH_TIME_NOW, $SECONDS$ * NSEC_PER_SEC)
域
在主队列块上插入调度异步。
dispatch_async(dispatch_get_main_queue(), ^{
$END$
})
道具
插入非原子强属性。
@property(n
【文件预览】:
appcode-live-templates-master
----README.md(1KB)
----objc_dispatch.xml(1KB)
----objc_properties.xml(1KB)
----objc_others.xml(1KB)