Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Convert Storyboard to XIB

I created an app using the iOS 5 Storyboard feature, and have decided I would like it to also run on iOS 4. How can I convert my Storyboard (Which only contains one ViewController) into an XIB? Also, will ARC compile for iOS 4?

like image 871
jadengeller Avatar asked Jan 19 '12 02:01

jadengeller


People also ask

What's the difference between XIB and storyboard?

XIB and Storyboard are used for creating interfaces for users. One important point is,xibs are used for creating a single view(it has single file owner at the top of the xib file), but in-case for viewcontroller, multiple screens can be added and its flow can also be monitored(it has separate file owners).

What is a XIB file?

What are XIB files? From the point of view of the UI designer, XIB files contain the views or windows that you design in Interface Builder – the controls, their layout and properties, and their connections to your code. It is important to understand that on a technical level, XIB files are stored object graphs.


1 Answers

I don't think there is an automatic way to go from storyboard to xib. i think you will need to make the nibs and copy paste.

ARC will run on iOS 4. The compiler inserts the necessary extra code to free memory for you. ARC works from 4.0 on.

like image 165
madmik3 Avatar answered Oct 23 '22 04:10

madmik3