Phaedo is a speedy linear constraint solver for Swift.
Phaedo wraps the Kiwi constraint solver (C++) in a thin layer of Objective-C, then adds operator overloads in Swift for intuitive constraint definitions.
Instances of Phaedo solvers aren't constrained to the UI thread, opening the door for parallel constraint layout. Phaedo's ultimate goal is to form the foundation of a multithreaded replacement for AutoLayout that works in both Swift and React Native.
To run the example project, clone the repo, and run pod install
from the Example directory first.
Phaedo is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "Phaedo"
Tyler Thompson, tyler.thompson@formidable.com
Phaedo is available under the MIT license. See the LICENSE file for more info.