r/iOSProgramming • • Aug 30 '19

Application Might not be super impressive, but we're developing an app in SwiftUI and this is our hierarchy so far.

Post image
123 Upvotes

75 comments sorted by

View all comments

Show parent comment

46

u/LetsYouKnow Aug 30 '19

Depends on the type of app you're going for, but I'd definitely recommend it once it's out of beta. 9/10.

8

u/USERNAME_ERROR Aug 31 '19

Thanks for letting me know.

0

u/[deleted] Aug 31 '19

[deleted] — view deleted comment

34

u/etaionshrd Objective-C / Swift Aug 31 '19

Ever tried to solve a storyboard merge conflict?

9

u/antekm Aug 31 '19

One thing is for example core reuse. As everything is composed from smaller parts, it's very easy to take some part of ui and use it in another place, even if you didn't plan for it initially. It's much harder to do so in storyboard - imagine you spent few days creating some complicated screen and then get a new requirement to make another one like this but with some significant differences, or take just some part for reuse. It's not trivial!

2

u/wiencheck Sep 01 '19

Yeah but you can create separate components in xib and just piece them together in storyboards. They are easy to reuse too. I don’t get the Interface Builder hate, it is very easy to use and you can see the effects instantly, merge conflicts can be a PIA but there are nice tools to help with that and if you’re working alone this is a non-issue

Just my 2c

2

u/antekm Sep 05 '19

It is an option if you think about it beforehand. If you first create the whole screen in a storyboard and later decide that you'd like to reuse some part of it, it's much more painful to do