This website works better with JavaScript.
Home
Explore
Help
Sign In
kornerr
/
check-ios-bus
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
d
single
Михаил Капелько
10 months ago
parent
19e4b7cd52
commit
f7127895e9
2 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
src/Bus.Receiver.swift
+1
-1
src/VM.swift
+ 2
- 2
src/Bus.Receiver.swift
View File
@@ -7,8 +7,8 @@ public extension Bus {
public init(
_ keys: Set<String>,
_ handler: @escaping ((String, T) -> Void),
opt: [Option] = []
,
{
opt: [Option] = []
)
{
Bus.receive(keys, handler, opt: opt, sub: &subscriptions)
}
}
+ 1
- 1
src/VM.swift
View File
@@ -3,7 +3,7 @@ import SwiftUI
final class VM: ObservableObject {
@Published var text = "a:"
var subscriptions = [AnyCancellable]()
init() {
Write
Preview
Loading…
Cancel
Save