iOS Swift : What is the most common way to develop an iOS Native app? Storyboard or Code Base?

Hello, I'm quite new to iOS native development I have been taking some online classes about iOS Development with swift especially the 2 classes below:

1 - iOS & Swift - The Complete iOS App Development Bootcamp (Angela Yu)

https://www.udemy.com/course/ios-13-app-development-bootcamp/

2 - Youtube Channel (iOS Academy)

https://www.youtube.com/c/iOSAcademy

I noticed that Angela focuses a lot of design the UI using Storyboard; whereas iOS Academy tends to design the UI using CodeBase.

My question is - What is the most common/efficient way to develop an iOS App? Thank you!

Answered by Claude31 in 689129022

I have no data to say what is most common.

In fact you have now 3 options :

  • Option 1. Create UI with storyboard, using UIKit.
  • Option 2. Create UI in code, with UIKit
  • Option 3. Use SwiftUI and de facto create UI in code, interactively with a previewer

I do personally prefer option 1 for 3 main reasons :

  • It helps separate code and UI design (MVC design) ; that does help build and evolve UI as needed very efficiently
  • Storyboard is a powerful graphic editor: you see the UI you design, what is much more tedious when you do in code in option 2
  • I find SwiftUI still immature, and in many cases cumbersome when you want something a bit specific for your UI.

Hope that helps.

Accepted Answer

I have no data to say what is most common.

In fact you have now 3 options :

  • Option 1. Create UI with storyboard, using UIKit.
  • Option 2. Create UI in code, with UIKit
  • Option 3. Use SwiftUI and de facto create UI in code, interactively with a previewer

I do personally prefer option 1 for 3 main reasons :

  • It helps separate code and UI design (MVC design) ; that does help build and evolve UI as needed very efficiently
  • Storyboard is a powerful graphic editor: you see the UI you design, what is much more tedious when you do in code in option 2
  • I find SwiftUI still immature, and in many cases cumbersome when you want something a bit specific for your UI.

Hope that helps.

iOS Swift : What is the most common way to develop an iOS Native app? Storyboard or Code Base?
 
 
Q