Mac app that converts an iOS storyboard into code. Work in progress.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Elements.playground
Example/LoginDemo
Storyboard2Code.xcodeproj
Storyboard2Code
Storyboard2CodeTests
comparison
screenshots
.DS_Store
.travis.yml
LICENCE.md
README.md

README.md

Storybard2CodeApp

Build Status

Mac app that converts an iOS storyboard into code. Work in progress.

Goal

The ultimate goal is to be able to convert any iOS storyboard and convert it to code that is usable as a replacement of that storyboard without modification.

Progress

The project is in pre-alpha status. If I had to give a number of the progress, I would say it's about 50% done. But keep in mind, the last 20% of any project consume 80% of the total time. ;)

Supported (== most properties supported)

  • UIView
  • UIButton
  • UILabel
  • UISlider
  • UITextField
  • UISegmentedControl (images not supported yet)
  • UIScrollView
  • UITableView
  • UIImageView
  • UITableViewCell
  • SaveAreaGuides
  • IBActions
  • Segues
  • Size Classes
  • UIStackView
  • UICollectionView
  • UICollectionViewCell

Examples

The following gifs show examples. The presentation switches between the view created from a storyboard and the view created from the generated code. You can see the switch because right now the colours aren't not perfect. So further down the road those gifs will become images. :)

Usage

The generated code looks best if all the elements in the storyboard have a label because this is used for the name of the element. You can set the label in the identity inspector:

If the label is missing, the internal id in the storyboard of that element is used.

Author

@dasdom

Licence

MIT

See LICENCE.md