File tree 6 files changed +93
-0
lines changed
6 files changed +93
-0
lines changed Original file line number Diff line number Diff line change
1
+ .DS_Store
Original file line number Diff line number Diff line change
1
+
2
+
3
+ # RxSnippets
4
+
5
+ Several snippets for work with RxSwift
6
+
7
+ Demo:
8
+ ![ ] ( assets/snippets.gif )
9
+
10
+ #Install
11
+ * Move to ~ /Library/Developer/Xcode/UserData/CodeSnippets
12
+ * Restart Xcode
13
+
14
+ #Uninstall
15
+ * reverse the above
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version =" 1.0" >
4
+ <dict >
5
+ <key >IDECodeSnippetCompletionPrefix</key >
6
+ <string >rxi</string >
7
+ <key >IDECodeSnippetCompletionScopes</key >
8
+ <array >
9
+ <string >TopLevel</string >
10
+ </array >
11
+ <key >IDECodeSnippetContents</key >
12
+ <string >import RxSwift
13
+ import RxCocoa</string >
14
+ <key >IDECodeSnippetIdentifier</key >
15
+ <string >C526A791-A297-4B4B-A14A-088C52F20DF6</string >
16
+ <key >IDECodeSnippetLanguage</key >
17
+ <string >Xcode.SourceCodeLanguage.Swift</string >
18
+ <key >IDECodeSnippetTitle</key >
19
+ <string >RxSwift/RxCocoa import statements</string >
20
+ <key >IDECodeSnippetUserSnippet</key >
21
+ <true />
22
+ <key >IDECodeSnippetVersion</key >
23
+ <integer >2</integer >
24
+ </dict >
25
+ </plist >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version =" 1.0" >
4
+ <dict >
5
+ <key >IDECodeSnippetCompletionPrefix</key >
6
+ <string >rxws</string >
7
+ <key >IDECodeSnippetCompletionScopes</key >
8
+ <array >
9
+ <string >All</string >
10
+ </array >
11
+ <key >IDECodeSnippetContents</key >
12
+ <string >{ [weak self] < #sinature#> in
13
+ guard let _self = self else { return }
14
+ < ##>
15
+ }
16
+ .addDisposableTo(disposeBag)</string >
17
+ <key >IDECodeSnippetIdentifier</key >
18
+ <string >5ABD469A-3D65-4B38-9FA9-D196BF9B3560</string >
19
+ <key >IDECodeSnippetLanguage</key >
20
+ <string >Xcode.SourceCodeLanguage.Swift</string >
21
+ <key >IDECodeSnippetTitle</key >
22
+ <string >Weak Self With AddDisposableTo</string >
23
+ <key >IDECodeSnippetUserSnippet</key >
24
+ <true />
25
+ <key >IDECodeSnippetVersion</key >
26
+ <integer >2</integer >
27
+ </dict >
28
+ </plist >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version =" 1.0" >
4
+ <dict >
5
+ <key >IDECodeSnippetCompletionPrefix</key >
6
+ <string >rxd</string >
7
+ <key >IDECodeSnippetCompletionScopes</key >
8
+ <array >
9
+ <string >ClassImplementation</string >
10
+ </array >
11
+ <key >IDECodeSnippetContents</key >
12
+ <string >private < #var#> disposeBag = DisposeBag()</string >
13
+ <key >IDECodeSnippetIdentifier</key >
14
+ <string >67A1544F-C8C4-4CB6-91F6-75ACC22E8958</string >
15
+ <key >IDECodeSnippetLanguage</key >
16
+ <string >Xcode.SourceCodeLanguage.Swift</string >
17
+ <key >IDECodeSnippetTitle</key >
18
+ <string >var disposeBag = DisposeBag()</string >
19
+ <key >IDECodeSnippetUserSnippet</key >
20
+ <true />
21
+ <key >IDECodeSnippetVersion</key >
22
+ <integer >2</integer >
23
+ </dict >
24
+ </plist >
You can’t perform that action at this time.
0 commit comments