Give'em a storyboard(xib), returns you the auto-layout code(in Swift).
- Setup your storyboard by adding auto-layout.
- Customize your view names in the document outline.
- Create views in your own project with corresponding name from the previous step, set them up, and add them to the view by yourself.
- Edit the
path
variable in the code of this project to be the path of you target storyboard. You can do this by dragging your storyboard into the code. - Build & run this project.
- Copy code from Xcode console, paste them in your own project.
- Build & run your own project.
- Fix possible bugs(since its not well tested), optimize the code etc.
- make it available for Objective-C and possibly Masonry.