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?
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 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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With