Individuals | Corporations |
---|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Combine | |
/** | |
An observable, mutable property. | |
Replays the current value when subscribed. | |
*/ | |
@propertyWrapper | |
struct Published<Output>: Publisher { | |
typealias Failure = Never |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
import Combine | |
struct ContentView : View { | |
@ObjectBinding var viewModel: ViewModel | |
var body: some View { | |
CounterView(counter: viewModel.counter) | |
} | |
} |
I hereby claim:
- I am n8chur on github.
- I am n8chur (https://keybase.io/n8chur) on keybase.
- I have a public key whose fingerprint is 89FC F8C4 8102 E735 305A E268 7A89 793B EB6E 6C3C
To claim this, I am signing this object: