Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

FormidableLabs/Phaedo

Repository files navigation

Phaedo

CI Status Version License Platform

Docs WIP!

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.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

Phaedo is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "Phaedo"

Author

Tyler Thompson, tyler.thompson@formidable.com

License

Phaedo is available under the MIT license. See the LICENSE file for more info.