0.4.2
This release changes the View
geometry extensions and replaces bindGeometry(to: ...)
with:
bindSafeAreaInsets(to: ...)
bindSize(to: ...)
You can use them like this:
@State private var size: CGSize = .zero
@State private var size: CGSize = .zero
UIColor.red.bindGeometry(to: $height) { $0.size.height }