• Home
  • DSA
  • Concept
  • Interview
  • Tips&Tricks
  • Tutorial Videos
  • Home
  • DSA
  • Concept
  • Interview
  • Tips&Tricks
  • Tutorial Videos
  • #News
  • #APPS
  • #Events
    • #WWDC
    • #I/O
    • #Ignite
  • #Let’s Talk
  • #Advertise

MyCodeTips mycodetips-newlogocopy1

  • Home
  • DSA
  • Concept
  • Interview
  • Tips&Tricks
  • Tutorial Videos
IOS, Tips&Tricks

What is Difference between Storyboard and XIB!

What is Difference between Storyboard and XIB!

STORYBOARD

  • In simple words Storyboard is one single file for all the views or screens that in yours apps.
  • It transitions one screen to another screen.
  • It minimizes (reduces) the number of files in your apps.
  • Storyboard can put the XIB files.
  • Storyboard is universal; that means your apps can run both iPhone and iPad.
  • In Storyboard you can also used XIB if you need it in Storyboard.
  • Storyboard contains all the controllers, like tool bar, view controller, ant tab bar.
  • Storyboard is good for seeing how the controllers connect to each other.
  • In Storyboard merging the view and controller is very easy.
  • If you don’t want to use Storyboard when creating a new project then you can avoid it by unchecking the Storyboard option.

Disadvantages of Storyboard

  • There are so many disadvantages to using Storyboard that are explained here.
  • Not compatible with pre iOS 5.
  • In my opinion, in Storyboard it is hard to work if the project is too long because every member in a team modifies and updates the file.
  • In Storyboard if you have too many views then Storyboard can be confusing.
  • It is less flexible.
  • In Storyboard you don’t have a file owner.
  • In my opinion Storyboard is a loosely coupled object into a big file.
  • In Storyboard using table cell is better then XIB because it gives more flexibility.
  • In Storyboard it is not easy to handle if you have a large amount of code. It is useful only for a small amount of code.

XIB

  • XIB is Mac OS x interface builder. It allows Cocoa Touch and Carbon Touch.
  • In XIB the result is stored as a NIB file.
  • It is the part of X code.
  • In XIB there is no flow of control and transition between the view and controller.
  • In XIB modularity is done in a very nice way.
  • It contains item like buttons, text fields, labels.
  • In XIB it gives you more flexibility, and simplicity in terms of code.

Disadvantage of XIB

  • There are many disadvantages of XIB that are explained here.
  • In XIB if there is any bug in making a connection then it is to hard too debug.
  • In XIB merging is too difficult compared to Storyboard.
  • In XIB if we have a dynamic view then it is hard to read compared to Storyboard.
Liked it? Take a second to support Ranjan on Patreon!
become a patron button
  • Click to share on Reddit (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • More
  • Click to share on Pocket (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
Written by Ranjan - 14647 Views
AUTHOR
Ranjan

Namaste, My name is Ranjan, I am a graduate from NIT Rourkela. This website is basically about of what i learnt from my years of experience as a software engineer on software development specifically on mobile application development, design patterns/architectures, its changing scenarios, security, troubleshooting, tools, tips&tricks and many more.

Next Post
Previous Post

Support us

mycodetips mycodetips
Follow us @ LinkedIn 2850+

Subscribe for updates

Join 8,213 other subscribers

Latest Posts

  • YT-Featured-solidprinciples
    SOLID Principles of Software Design
  • IOS 16 Features
    Latest features in IOS 16
  • r-language
    How can R language be used for data analysis?
  • wordpress-coding-blog
    Guide To WordPress Coding Standards
  • YT-Featured-Algorithm
    What is Algorithm?
  • Frameworks of IOS
    Frameworks of IOS – Part ( I )
  • NSFileManager or NSPathUtilities
    NSFileManager or NSPathUtilities in Objective-C
  • Passing data between view controllers in Objective-C
    Passing data between view controllers in Objective-C
  • structures-classes-enum
    Structures and Classes in swift !
  • control-system-swift
    Control Flow in Swift
whiteboard

Whiteboard(PRO)

whiteboard

Whiteboard(lite)

alphabets

Kids Alphabet

techlynk

Techlynk

techbyte

Do2Day

techbyte

Techbyte

  • #about
  • #myapps
  • #contact
  • #privacy
  • #Advertise
  • #Guestpost
  • #myQuestions

Android Android Studio API APP Programming Apps blogging CSS DATABASE dsa Features HTML HTML5 installation Interview Questions IOS iPhone javascript Mac objective-c OS Programming quicktips SDK SEO SQL swift Tips & Tricks Tools UI Web Wordpress Xcode

  • SOLID Principles of Software Design
  • Latest features in IOS 16
  • How can R language be used for data analysis?
  • Guide To WordPress Coding Standards
  • What is Algorithm?

©mycodetips.com