Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://akordadev.github.io/AutoLayoutMagic/

Build 1 scene, let AutoLayoutMagic generate the constraints for you!
https://akordadev.github.io/AutoLayoutMagic/

Last synced: 3 months ago
JSON representation

Build 1 scene, let AutoLayoutMagic generate the constraints for you!

Awesome Lists containing this project

README

        

# Auto Layout Magic
> Create 1 scene, let Auto Layout Magic generate the constraints for you

![](http://s32.postimg.org/jdq9gcbut/Auto_Layout_Magic_Icon.png)

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!

![](http://s32.postimg.org/exgxcuix1/Screen_Shot_2016_05_19_at_4_46_46_PM.png)

## 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](https://www.youtube.com/watch?v=rfUpann-zG4&feature=youtu.be), for an overview of how to use the tool!

Target Screen

![](http://s32.postimg.org/jme6vesxx/Target_Screen.png)

Before Auto Layout Magic, your view will look like this across different devices

![](http://s32.postimg.org/eekdiueit/Before_Magic.png)

After Auto Layout Magic, your constraints will be created for you, and your view looks great across all iOS devices!

![](http://s32.postimg.org/fgc6if3t1/After_Magic.png)

## 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](https://twitter.com/AkordaDev) – [email protected]

Distributed under the MIT license. See ``LICENSE`` for more information.

[https://github.com/akordadev/AutoLayoutMagic](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!