Giter Club home page Giter Club logo

xib2storyboard's Introduction

xib2Storyboard • GitHub license

xib2Storyboard is a handy tool to easily convert .xib files to .storyboard without the hassle of manually copying views, losing your outlets and possibly constraints in the process.

  • Maintain all outlets, outlet collections & constraints
  • Maintain all other objects such as additional views or gesture recognizers
  • Adds prototype cells to UITableViews

screenshot-app

Getting started

To run xib2Storyboard download this repo on macOS and run the xib2Storyboard.app file which is always the latest release. If you'd like to play around with the code yourself, build & run the Xcode project.

Prerequisites

  • xib2Storyboard requires macOS 10.11 El-Capitan or higher.

How to use

  1. Build & run the Xcode project (or run xib2Storyboard.app).
  2. Add view controller .xib file(s) by using the '+' button or dragging the files on the window.
  3. Select one of the export options from the dropdown menu.
  4. Import the newly generated .storyboard files in your Xcode project.

Before (.xib):

screenshot-xib

After (.storyboard):

screenshot-storyboard

Stability

This software is considered Beta. It has been thoroughly tested internally at November Five but not yet used in any live products.

Roadmap

Currently the following releases are planned:

xib2Storyboard 1.0.0 (TBD)

  • Support for macOS Interface Builder Files
  • Convert a .storyboard to multipe .storyboard's
  • Convert a .storyboard to one or multiple .xib's

Additional notes

xib2Storyboard was created by comparing the XML format of Interface Builder files. It may stop working for future versions of Xcode should Apple decide to change the XML format of .xib or .storyboard files. xib2Storyboard works and was tested using the Xcode 8 and Xcode 9 file formats. xib2Storyboard will be thoroughly tested when new beta versions of Xcode become available.

Contact

This project is maintained by Dries Van Schevensteen

Got any questions or ideas? We'd love to hear from you. Check out our contributing guidelines for ways to offer feedback and contribute.

License

Copyright (c) November Five BVBA. All rights reserved.

Licensed under the MIT License.

xib2storyboard's People

Contributors

driesvs avatar jenssrey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xib2storyboard's Issues

Clear button in main screen

Hello Dries,

A great tool you made !! Am using it in my current project and works nice. Any plans to add a Clear button in the main screen to start a new export after you're done with one.

Thanks
Frank

Status for Xcode 10 beta

As per the docs:
"xib2Storyboard works and was tested using the Xcode 8 and Xcode 9 file formats. xib2Storyboard will be thoroughly tested when new beta versions of Xcode become available."

How is xib2storyboard looking for Xcode 10?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.