Merge branch 'langleyd/4781_swiftui_template_examples' of https://github.com/vector-im/element-ios into langleyd/4781_swiftui_template_example2

This commit is contained in:
David Langley
2021-09-20 17:28:16 +01:00
11 changed files with 34 additions and 9 deletions
@@ -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>(