Skip to content

Releases: layoutBox/FlexLayout

Update Yoga core to 2.0

01 Oct 19:45
Compare
Choose a tag to compare

FlexLayout version has been increased to reflect the new Yoga core version.

Added by OhKanghoon in Pull Request #230

Resolve lldb debug issue when using CocoaPods

24 Jun 19:34
Compare
Choose a tag to compare

Background

  • Since #219 was merged, LLDB problems have occurred in environments where CocoaPods and SPM are used together.
  • This reverts commit f36c766. (#219)

Changes

  • Revert f36c766 commit to resolve
  • The existing problem is solved by writing each package.swift like the code below
// in Package.swift
.target(
  name: "SomeTarget",
  dependencies: [
    "FlexLayout",
  ],
  cSettings: [
    .define("FLEXLAYOUT_SWIFT_PACKAGE"),
  ],
  cxxSettings: [
    .define("FLEXLAYOUT_SWIFT_PACKAGE"),
  ],
  swiftSettings: [
    .define("FLEXLAYOUT_SWIFT_PACKAGE"),
  ]
)

Added by OhKanghoon in Pull Request #226

Fixes an issue where YGApplyLayoutToViewHierarchy assigns a value to frame.size that does not rounded to the pixel grid

10 May 12:30
Compare
Choose a tag to compare

Fix for Swift 5.8

12 Apr 22:44
Compare
Choose a tag to compare

Added by Rachik Abidi in Pull Request #223

Fixes issue while including FlexLayout as a dependency of another Swift Package

11 Mar 14:16
Compare
Choose a tag to compare

Fixes issue #219 where including FlexLayout as a dependency of another swift package would fail to build - because it isn't possible to set the preprocessor definition FLEXLAYOUT_SWIFT_PACKAGE without an Xcode project.

Added by Luke Wakeford in Pull Request #221

Add `border(_ width: CGFloat, _ color: UIColor)`

28 Feb 14:16
Compare
Choose a tag to compare

Add `Flex.direction` property

25 Feb 23:26
ed5707f
Compare
Choose a tag to compare

Added by gyuchan in Pull Request #213

Round pixel values of intrinsicSize with YGRoundPixelValue

20 Jan 13:41
456523e
Compare
Choose a tag to compare

Fixed crash with nan dimensions

20 Jan 13:25
Compare
Choose a tag to compare

Added by iohin in Pull Request #211

Add `cornerRadius(_ value: CGFloat) function`

23 Dec 21:41
Compare
Choose a tag to compare