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.4.4
A collection of components to build composed component
⭐️ 13
🕓 1 year ago
iOS
.package(url: "https://github.com/FluidGroup/CompositionKit.git", from: "0.4.4")

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: 13
Last commit: 44 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

0.4.4
1 year ago

What's Changed

New Contributors

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