Releases: layoutBox/FlexLayout
Releases · layoutBox/FlexLayout
Update Yoga core to 2.0
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
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
Fix for Swift 5.8
Added by Rachik Abidi in Pull Request #223
Fixes issue while including FlexLayout as a dependency of another Swift Package
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)`
Add `Flex.direction` property
Round pixel values of intrinsicSize with YGRoundPixelValue
Added by Dongkyu Kim in Pull Request #210