Add Strong Self Guard snippet

This commit is contained in:
Wojciech Nagrodzki 2020-01-26 10:13:18 +01:00
parent 19c4f4d5f1
commit 2461caebce
Signed by: wnagrodzki
GPG key ID: E9D0EB0302264569

View file

@ -0,0 +1,27 @@
<?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>strongself</string>
<key>IDECodeSnippetCompletionScopes</key>
<array>
<string>All</string>
<string>CodeBlock</string>
</array>
<key>IDECodeSnippetContents</key>
<string>guard let strongSelf = self else { return }</string>
<key>IDECodeSnippetIdentifier</key>
<string>5F155DAC-2C62-46BB-A14D-66F2EE978A10</string>
<key>IDECodeSnippetLanguage</key>
<string>Xcode.SourceCodeLanguage.Swift</string>
<key>IDECodeSnippetSummary</key>
<string></string>
<key>IDECodeSnippetTitle</key>
<string>Strong Self Guard</string>
<key>IDECodeSnippetUserSnippet</key>
<true/>
<key>IDECodeSnippetVersion</key>
<integer>2</integer>
</dict>
</plist>