Featured post

Difference between protocol and delegates?

A protocol, declared with the ( @protocol syntax in Objective-C) is used to declare a set of methods that a class "adopts" (de...

Thursday, 9 April 2015

What are the advantages and disadvantages of using StoryBoard?

Advantages:
  •  It's  very nice to design interfaces
  • You can use  StoryBoard Segues to identify navigation/modal       relationships in a cool manner.
  • If your app supports multiple devices, it's a good way to               organize different views.
  • Prototyping is another added advantage.
  • Prototype UITableViewCell can save time and it reduce the            amount of the code too.
  • you can see all the screens of the app at one place  by using StoryBoard.
  • You can easily view  the relationship among them
  • if you are working on someone's  code you can get the better        understanding of the flow of the app.
  • You can setup the user interface for iPhone 4 and iPhone 5 by applying the retina form factor from storyboard, without running the app again and again.
  • Clients can see the prototype of the app before start developing it, here storyboard helps you a lot.
Disadvantages:
  •  It is only available in iOS 5
  • StoryBoardSegues are kind of rigid and you may make use of       prepareForSegue many times.
  • Like IB, not very friendly with other display engines and toolkits.
  • Makes it hard to share designs for a single view or set of views - you have to send all or nothing.
  • For storyboard you will need a big screen specially in case of iPad.
  • Difficulty while copying views from other apps to storyboard.
  • Problems in storyboard when multiple developers work on the same project by using git repository.
  • Another disadvantage with Storyboarding not mentioned is that
       merges can be very difficult if not impossible if there are conflicts.

No comments:

Post a Comment