A collection of components to build composed component
To create an anonymous view with making content
func makeSomethingView(onTap: @escaping () -> Void) -> UIView {
let button = UIButton(..., primaryAction: .init { _ in
onTap()
})
return AnyView { view in
VStackBlock {
button
}
}
}
MIT
link |
Stars: 13 |
Last commit: 44 weeks ago |
Full Changelog: https://github.com/FluidGroup/CompositionKit/compare/0.4.3...0.4.4
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics