<?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>IDECodeSnippetCompletionPrefix</key> <string>snippetAlert</string> <key>IDECodeSnippetCompletionScopes</key> <array> <string>All</string> </array> <key>IDECodeSnippetContents</key> <string>let alertController = UIAlertController(title: <#T##String?#>, message: <#T##String?#>, preferredStyle: <#T##UIAlertController.Style#>) let firstAction = UIAlertAction(title: <#T##String?#>, style: .default, handler: <#T##((UIAlertAction) -> Void)?##((UIAlertAction) -> Void)?##(UIAlertAction) -> Void#>) let cancelAction = UIAlertAction(title: <#T##String?#>, style: .cancel, handler: nil) alertController.addAction(firstAction) alertController.addAction(cancelAction) present(alertController, animated: true)</string> <key>IDECodeSnippetIdentifier</key> <string>8C458AD7-C631-457B-85CC-D2501E425D59</string> <key>IDECodeSnippetLanguage</key> <string>Xcode.SourceCodeLanguage.Swift</string> <key>IDECodeSnippetSummary</key> <string></string> <key>IDECodeSnippetTitle</key> <string>UIAlertController</string> <key>IDECodeSnippetUserSnippet</key> <true/> <key>IDECodeSnippetVersion</key> <integer>2</integer> </dict> </plist>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter