forked from burczyk/XcodeSwiftSnippets
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathobjc-init.codesnippet
35 lines (33 loc) · 977 Bytes
/
objc-init.codesnippet
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
27
28
29
30
31
32
33
34
35
<?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>objc-init</string>
<key>IDECodeSnippetCompletionScopes</key>
<array>
<string>ClassImplementation</string>
</array>
<key>IDECodeSnippetContents</key>
<string>- (instancetype)init {
self = [super init];
if (!self) {
return nil;
}
<#statements#>
return self;
}</string>
<key>IDECodeSnippetIdentifier</key>
<string>FFE637AC-08C1-4C7F-A5F4-6804BB17739B</string>
<key>IDECodeSnippetLanguage</key>
<string>Xcode.SourceCodeLanguage.Objective-C</string>
<key>IDECodeSnippetSummary</key>
<string>Init pattern for Objc</string>
<key>IDECodeSnippetTitle</key>
<string>Objc Init</string>
<key>IDECodeSnippetUserSnippet</key>
<true/>
<key>IDECodeSnippetVersion</key>
<integer>2</integer>
</dict>
</plist>