As a beginning iOS developer, which approach allows for quicker more efficient development?
I recommend getting comfortable using Storyboard as well as designing programmatically so that you can decide which method to use on a project-by-project basis. If you have an urge to create a static UI and are a solo developer, Storyboard is probably the best option.
Storyboard is just another tool in the iOS Dev's belt. It gives you an additional way of going about things. While it's not mandatory to use storyboards, it definitely simplifies a lot of things. For one, it organizes all your views in a single place so that's easier than sifting through a bunch of nib files.
If you are creating a new application and don't care about supporting the old version of iOS, SwiftUI is the obvious choice. It's also possible to migrate your legacy code to SwiftUI because SwiftUI can be combined with UIKit and storyboards.
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.
There is no right answer to this. For someone who's been developing with Xcode for 2-3 years, the old programmatic way is more efficient, and storyboards feel alien. This is the situation I am in personally. For someone who is just starting out with Xcode or iOS development today, Storyboards will probably make more sense and pose a shorter learning curve. I can get my work done quickly by avoiding storyboards, but that's because I am too set in my old ways. Do whatever "feels right" to you, and adapt as the IDE evolves.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With