1 Star 0 Fork 0

yuditxj/CodeSnippets

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
F5198EBD-16AA-4634-A928-63AFB7C708FA.codesnippet 1.43 KB
一键复制 编辑 原始数据 按行查看 历史
yuditxj 提交于 2017-08-02 10:19 . update
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDECodeSnippetCompletionScopes</key>
<array>
<string>CodeBlock</string>
</array>
<key>IDECodeSnippetContents</key>
<string>UIAlertController *alertCon = [UIAlertController alertControllerWithTitle:nil message:nil preferredStyle:UIAlertControllerStyleActionSheet];
UIAlertAction *action = [UIAlertAction actionWithTitle:@"取消" style:UIAlertActionStyleCancel handler:^(UIAlertAction * _Nonnull action) {
}];
[alertCon addAction:action];
UIAlertAction *action2 = [UIAlertAction actionWithTitle:@"自身位置" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
}];
[alertCon addAction:action2];
UIAlertAction *action3 = [UIAlertAction actionWithTitle:@"指定位置" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
}];
[alertCon addAction:action3];
[self presentViewController:alertCon animated:YES completion:nil];</string>
<key>IDECodeSnippetIdentifier</key>
<string>F5198EBD-16AA-4634-A928-63AFB7C708FA</string>
<key>IDECodeSnippetLanguage</key>
<string>Xcode.SourceCodeLanguage.Objective-C</string>
<key>IDECodeSnippetTitle</key>
<string>TActionSheet</string>
<key>IDECodeSnippetUserSnippet</key>
<true/>
<key>IDECodeSnippetVersion</key>
<integer>2</integer>
</dict>
</plist>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yuditxj/codesnippets.git
git@gitee.com:yuditxj/codesnippets.git
yuditxj
codesnippets
CodeSnippets
master

搜索帮助