CompositionKit

0.4.4

A collection of components to build composed component
FluidGroup/CompositionKit

What's New

0.4.4

2022-12-07T16:38:46Z

What's Changed

  • Fixed to be able to cancel by dragging a certain distance after touching by @shima11 in #12
  • Update HostingView - safeArea by @muukii in #13

New Contributors

Full Changelog: 0.4.3...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

Description

  • Swift Tools
View More Packages from this Author

Dependencies

  • None
Last updated: Wed Jan 15 2025 01:34:09 GMT-1000 (Hawaii-Aleutian Standard Time)