-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement autolayout #26
Comments
See discussion #swift on overconstrained.slack.com Sent from my Google Nexus 6P using FastHub |
And then there's https://github.com/hfossli/amoeba/tree/swift?files=1 |
We need a Pure Swift AutoLayout implementation. The C++ library https://github.com/FormidableLabs/Phaedo is not viable since ObjC is not available on Linux and non-Darwin platforms. https://github.com/starwing/amoeba Might be a viable solution (for starting), but would need a Swift wrapper. Im open to any PRs. |
I have written a swift wrapper around amoeba. See my link. I’m sure Starwing is fine with merging that swift wrapper and adding a package.swift |
I’m open to any license on my part (do what you want) |
Here also a list of various implementations in various languages http://overconstrained.io/ |
Someone would have to write an NSAutoLayout API wrapper on top of this lib. Again, I'm open to any PRs. |
Autolayout makes layouts for different screen sizes a breeze. I think it would be a great addition to the project.
It looks like some efforts have already been made to port or wrap the cassowary constraint solver to swift, see https://github.com/FormidableLabs/Phaedo
A similar effort has been made in this project, but wrapping to objective-j, and it has worked quite well
https://github.com/cacaodev/cappuccino
Sent from my Google Nexus 6P using FastHub
The text was updated successfully, but these errors were encountered: