forked from burczyk/XcodeSwiftSnippets
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathswift-singleton.codesnippet
More file actions
26 lines (26 loc) · 926 Bytes
/
swift-singleton.codesnippet
File metadata and controls
26 lines (26 loc) · 926 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?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>swift-singleton</string>
<key>IDECodeSnippetCompletionScopes</key>
<array>
<string>ClassImplementation</string>
</array>
<key>IDECodeSnippetContents</key>
<string>static let sharedInstance : <#SingletonClass#> = <#SingletonClass#>()</string>
<key>IDECodeSnippetIdentifier</key>
<string>D0964789-8FAA-4A94-8E5B-D5178137F102</string>
<key>IDECodeSnippetLanguage</key>
<string>Xcode.SourceCodeLanguage.Swift</string>
<key>IDECodeSnippetSummary</key>
<string>Singleton pattern for Swift</string>
<key>IDECodeSnippetTitle</key>
<string>Swift Singleton</string>
<key>IDECodeSnippetUserSnippet</key>
<true/>
<key>IDECodeSnippetVersion</key>
<integer>2</integer>
</dict>
</plist>