Tricks: transfer entire UIView to new Xcode project
April 12, 2009 § Leave a comment
It is always desire to find the best practices and quickest way to transfer UI components within Interface Builder.
Transferring the entire xib files may not work if you significant changes on your project. Interface Builder is very fragile and very easy to break giving you warnings and errors on console. Something you would like to avoid to reduce the debugging time. You rather have a clean project so you can continue to build on clean codes.
It is possible to select and click all the UI components from another project and drag them into new project if you open the xib file inside Interface Builder.
You will lose all the connections between Xcode and Interface Builder. It is better than recreating hundreds of library, resizing them to the right font type, size and color, and attach them with images and background, etc.