CompositionKit

0.5.0

A collection of components to build composed component
FluidGroup/CompositionKit

What's New

0.5.0

2024-10-15T05:30:30Z

What's Changed

Full Changelog: 0.4.4...0.5.0

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

Description

  • Swift Tools
View More Packages from this Author

Dependencies

  • None
Last updated: Wed May 14 2025 02:50:52 GMT-0900 (Hawaii-Aleutian Daylight Time)