Closed markst closed 2 years ago
Could be relevant: https://github.com/devxoul/Then
Not sure what the opinion is on this:
extension AnyDeclarativeProtocol where Self: Any {
@inlinable
public func `do`(_ block: (inout Self) throws -> Void) rethrows -> Self {
var copy = self
try block(©)
return copy
}
}
not sure how I missed that. @EkkoG thanks!
Trying to work out if the following might be possible:
So that view's can be configured such as: