Using Storyboard VS .xib (XCode 5)

jcaso

This is more of a question than an issue with code.. I'm new to iOS developing and I am looking to submit an app I'm creating to the Apple Store. I have been debating whether to use .xib(nib) files or storyboard. I am currently using .xib files but considering changing it. Which one is generally best from your opinion? And will the app store accept apps made in storyboard? I've heard of it not being backwards compatible with earlier iPhone versions and want to play it as safe as possible. Thanks guys :)

danypata

So storyboards are available for iOS 5 and above, so if you want to submit an app compatible for versions prior iOS 5, you can't do it mainly because you have to set your target and that will generate lots of errors because of storyboards.

App store definitely won't reject your app because it's using storyboards, actually Apple guys recommend using storyboards.

Regarding the xib vs storyboards... I generally use storyboards and also xib files depending on the project. With storyboards you don't have to write the code for push/pop/present view controllers and from my opinion, storyboards are cleaner and they can present you the main flow of the app, making debug much easier.

Regarding the backwards compatible, this concept "backwards compatible" is not present on iOS :)). I don't know a new feature introduced into a new version of iOS that is backwards compatible.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Using Storyboard VS .xib (XCode 5)

From Dev

How can i use xib files instead of storyboard in Xcode 5?

From Dev

Xcode 5 Slowing when opening "Connection inspector" on xib or storyboard file

From Dev

Xcode 5 - iOS - How to Create a View Controller in Xcode without Storyboard or XIB and how to configure it into AppDelegate as the root view

From Dev

Xcode 5 - Storyboard localization

From Dev

Xcode 5 - Storyboard localization

From Dev

Unable to add action for uisearchbar using storyboard xcode 5

From Dev

Xcode 5 and localization of .xib files

From Dev

Xib and Storyboard

From Dev

Xcode 5 storyboard for iOS 6.1

From Dev

Xcode 5 - Storyboard - Has no constraints

From Dev

Rotate the storyboard window in xcode 5

From Dev

Xcode 5 storyboard compile failure

From Dev

Xcode 5 storyboard for iOS 6.1

From Dev

How to hide Blue line covering views in xib/Storyboard in Xcode 7.2

From Dev

Xcode adds a lot of <animations/> tag in my storyboard and xib file

From Dev

Create Checkbox using Storyboard in Xcode

From Dev

Missing ViewController.xib in Xcode 5

From Dev

Create xib based interface with Xcode 5

From Dev

Missing ViewController.xib in Xcode 5

From Dev

OSX application without storyboard or xib files using Swift

From Dev

Variable width & height of UICollectionViewCell using AutoLayout with Storyboard (without XIB)

From Dev

How to edit cells on UITableView using XIB, just like Storyboard

From Dev

xcode - How to downgrade xcode 6 storyboard file to xcode 5?

From Dev

xcode - How to downgrade xcode 6 storyboard file to xcode 5?

From Dev

Xcode 5, storyboard update image position issues

From Dev

Xcode 5 Is it possible to change the font and size on the storyboard?

From Dev

XCode 5 update breaks the storyboard scenes layout

From Dev

Rotate storyboard view controller in Xcode 5

Related Related

  1. 1

    Using Storyboard VS .xib (XCode 5)

  2. 2

    How can i use xib files instead of storyboard in Xcode 5?

  3. 3

    Xcode 5 Slowing when opening "Connection inspector" on xib or storyboard file

  4. 4

    Xcode 5 - iOS - How to Create a View Controller in Xcode without Storyboard or XIB and how to configure it into AppDelegate as the root view

  5. 5

    Xcode 5 - Storyboard localization

  6. 6

    Xcode 5 - Storyboard localization

  7. 7

    Unable to add action for uisearchbar using storyboard xcode 5

  8. 8

    Xcode 5 and localization of .xib files

  9. 9

    Xib and Storyboard

  10. 10

    Xcode 5 storyboard for iOS 6.1

  11. 11

    Xcode 5 - Storyboard - Has no constraints

  12. 12

    Rotate the storyboard window in xcode 5

  13. 13

    Xcode 5 storyboard compile failure

  14. 14

    Xcode 5 storyboard for iOS 6.1

  15. 15

    How to hide Blue line covering views in xib/Storyboard in Xcode 7.2

  16. 16

    Xcode adds a lot of <animations/> tag in my storyboard and xib file

  17. 17

    Create Checkbox using Storyboard in Xcode

  18. 18

    Missing ViewController.xib in Xcode 5

  19. 19

    Create xib based interface with Xcode 5

  20. 20

    Missing ViewController.xib in Xcode 5

  21. 21

    OSX application without storyboard or xib files using Swift

  22. 22

    Variable width & height of UICollectionViewCell using AutoLayout with Storyboard (without XIB)

  23. 23

    How to edit cells on UITableView using XIB, just like Storyboard

  24. 24

    xcode - How to downgrade xcode 6 storyboard file to xcode 5?

  25. 25

    xcode - How to downgrade xcode 6 storyboard file to xcode 5?

  26. 26

    Xcode 5, storyboard update image position issues

  27. 27

    Xcode 5 Is it possible to change the font and size on the storyboard?

  28. 28

    XCode 5 update breaks the storyboard scenes layout

  29. 29

    Rotate storyboard view controller in Xcode 5

HotTag

Archive