Search code examples
iosiphoneipadios-ui-automation

iOS - UI design in coding and not in XIB or Storyboard is Feasible or not?


My doubt is very simple.

I want to develop one big iOS (iPhone) app of say 30 screens.

One my friend advice me to develop whole UI in coding only and do not use XIB's or storyboard.

I want to ask that, is it feasible for me to develop whole UI in coding instead using XIB and story board?

  1. Will that affect my iOS app processing?
  2. Will that affect my iOS app execution speed or not?

Please suggest me the proper way weather I use XIB and Storyboard of develop UI by Coding only ..... !!!!

Thank you.


Solution

  • Firstly, tell your friend not to give you advices again.(Just kidding! :)) You can develop the whole app programmatically but it's just a pain in the gut. Apple introduced the storyboards to ease the waste of having multiple xib files in your product. For my personal opinion, use xibs in case of having lots of teammates working with you because of the pain of conflicts. If you're working solo, then storyboards would be the best fit.