Swiftpack.co - FluidGroup/CompositionKit as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by FluidGroup.
FluidGroup/CompositionKit 0.3.2
A collection of components to build composed component
⭐️ 7
🕓 1 week ago
iOS
.package(url: "https://github.com/FluidGroup/CompositionKit.git", from: "0.3.2")

CompositionKit

A collection of components to build composed component

Requirements

Components (building blocks)

AnyView

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
    }
  }
}

License

MIT

GitHub

link
Stars: 7
Last commit: 1 week ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

0.3.2
12 weeks ago

What's Changed

Full Changelog: https://github.com/muukii/CompositionKit/compare/0.3.1...0.3.2

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics