-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathreactorkit-state-subscribe.codesnippet
More file actions
30 lines (30 loc) · 1.01 KB
/
reactorkit-state-subscribe.codesnippet
File metadata and controls
30 lines (30 loc) · 1.01 KB
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
<?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>_rss</string>
<key>IDECodeSnippetCompletionScopes</key>
<array>
<string>All</string>
</array>
<key>IDECodeSnippetContents</key>
<string>reactor.state.map { $0.<#State#> }
.subscribe(onNext: { [weak self] <#State#> in
guard let self = self else { return }
<#code#>
}).disposed(by: self.disposeBag)</string>
<key>IDECodeSnippetIdentifier</key>
<string>4FDA079F-6876-4339-9161-AF6EA52A1787</string>
<key>IDECodeSnippetLanguage</key>
<string>Xcode.SourceCodeLanguage.Swift</string>
<key>IDECodeSnippetSummary</key>
<string></string>
<key>IDECodeSnippetTitle</key>
<string>Reactor State Subscribe</string>
<key>IDECodeSnippetUserSnippet</key>
<true/>
<key>IDECodeSnippetVersion</key>
<integer>0</integer>
</dict>
</plist>