Auto Layout Magic
Create 1 scene, let Auto Layout Magic generate the constraints for you
Hello friends,
We’ve all been there. You have an app supporting iOS 8, and can’t use stack views. Therefore you have to make hundreds of constraints to make your view presentable across multiple iOS devices. A very tedious task taking up hours of your time. So why not hire a magician to do it for you?
This is my first open source project, which I am excited to share with you!
Auto Layout Magic will enable you to design on one screen, and the tool will generate constraints for you!
Swift 2 and 3 support!
There is full support for Swift 3, thanks to the open source community! There is also legacy support for Swift 2 by using the Swift_2 branch!
Usage example
Check out this video, for an overview of how to use the tool!
Target Screen
Before Auto Layout Magic, your view will look like this across different devices
After Auto Layout Magic, your constraints will be created for you, and your view looks great across all iOS devices!
Installation
OS X - Requires XCode
Fork or clone the repository, open the project in XCode, build and run the tool. Once it has been built you can run it at any time as an app. This app will eventually be uploaded to the app store as a Developer Tool.
Release History
- 1.1
- Added support for Swift 3. Made a Swift_2 branch for legacy support
- 1.0
- Released Auto Layout Magic to the open source community
Meta
Akorda – @AkordaDev – akordadev@gmail.com
Distributed under the MIT license. See LICENSE
for more information.
https://github.com/akordadev/AutoLayoutMagic
Hope you enjoy, looking forward to working with the community to make this tool great for everyone!
<3 Akorda
Check the Wiki for more info!