Skip to content

Releases: lkzhao/UIComponent

Bug fixes

02 Jul 19:53
Compare
Choose a tag to compare
  • Fix HStack/VStack's size being limited to the bounds when justifyContent != .start
  • Fix size modifier limits the size to the constraint even when SizeStrategy is set to .fit.

0.6.1

22 Jun 19:40
Compare
Choose a tag to compare

Bug fixes and cleanup

0.5.0

14 Jun 19:47
Compare
Choose a tag to compare
  • implement structure identification based on element's position
  • remove id parameters from all view wrapper component and their corresponding modifiers
  • add AsyncImage example to the example project

0.4.1

12 Jun 08:32
Compare
Choose a tag to compare
  • rename ComponentFunctionBuilder to ComponentArrayBuilder
  • remove ComponentFunctionBuilderItem
  • remove constraint param from ComponentBuilder
  • support for in loop inside a ComponentArrayBuilder
  • rename and cleanup few properties on ComponentDisplayableView
  • remove ForEach in favor of for in loop
  • remove .join method on ComponentFunctionBuilderItem and add a new Join builder item.
// before
ForEach(cards) { card in
  Card(card: card)
}.join {
  Separator(color: .red)
}

// after
Join {
  for card in cards {
    Card(card: card)
  }
} separator: {
  Separator(color: .red)
}

Add TappableView Config

08 Jun 18:07
Compare
Choose a tag to compare
0.3.1

add tappable view configuration

Add tappableView modifier

08 Jun 16:29
Compare
Choose a tag to compare
0.3.0

add tappable view component

Swift Package Support

03 Feb 02:07
Compare
Choose a tag to compare
0.2.1

Support SPM

0.2.0

03 Feb 01:11
f3a1260
Compare
Choose a tag to compare
  • ViewProvider:
    • Rename construct() -> makeView()
    • Rename func update(view: UIView) to func updateView(_ view: UIView)
  • Move UIScrollView utl methods to CollectionView (avoid unnecessary exposures)
  • Adds some documentation
  • Other cleanups

0.1.0

03 Feb 01:09
Compare
Choose a tag to compare
fix centering logic