mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 10:02:46 +02:00
Add counter example to show viewActions modifying the state.
This commit is contained in:
@@ -19,7 +19,7 @@ import Combine
|
||||
|
||||
@available(iOS 14.0, *)
|
||||
extension Publisher where Failure == Never {
|
||||
/// Sams as `assign(to:on:)` but maintains a weak reference to object
|
||||
/// Same as `assign(to:on:)` but maintains a weak reference to object
|
||||
///
|
||||
/// Useful in cases where you want to pass self and not cause a retain cycle.
|
||||
func weakAssign<T: AnyObject>(
|
||||
|
||||
Reference in New Issue
Block a user