NEW: Learn to build amazing SwiftUI apps for macOS with my new book! >>

What's better: programmatic layouts or storyboards?

Recorded – watch the full episode on YouTube.

What do you think: IB or not IB? Programmatic or storyboards?

Janina Kutyn: I prefer programmatic, personally. And that is because I think it's easier to find where things live. If I don't know where a UIView is configured, I don't know if it happened in Interface Builder or somewhere in code, and then if I see something on the screen, I'm digging through Interface Builder, I'm digging through code, I'm trying to find exactly where these rounded corners happened.

So I think it's easier to come into a new codebase and look at only programmatic files rather than looking at Interface Builder files. But that is me. And I think, in terms of one of my previous employers, it just really depends on the team – whatever the team thought were the right tools for their app is the decision that was made ultimately in the end.

“So I think it's easier to come into a new codebase and look at only programmatic files rather than looking at Interface Builder files.”

Paul Hudson: Okay. So what we're saying is some unnamed previous employers may have been using both programmatic and IB, depending on the team they were working for.

Janina Kutyn: I think so. Yeah, exactly. I know what my team was using, but I don't even know what anyone else's team was using. Because it's your team's app, and you're building what makes sense for your team.

This transcript was recorded as part of Swiftly Speaking. You can watch the full original episode on YouTube, or subscribe to the audio version on Apple Podcasts.

Listen on Apple Podcasts

Hacking with Swift is sponsored by RevenueCat

SPONSORED Spend less time managing in-app purchase infrastructure so you can focus on building your app. RevenueCat gives everything you need to easily implement, manage, and analyze in-app purchases and subscriptions without managing servers or writing backend code.

Get Started

Sponsor Hacking with Swift and reach the world's largest Swift community!

Buy Pro Swift Buy Swift Design Patterns Buy Testing Swift Buy Hacking with iOS Buy Swift Coding Challenges Buy Swift on Sundays Volume One Buy Server-Side Swift (Vapor Edition) Buy Advanced iOS Volume One Buy Advanced iOS Volume Two Buy Advanced iOS Volume Three Buy Hacking with watchOS Buy Hacking with tvOS Buy Hacking with macOS Buy Dive Into SpriteKit Buy Swift in Sixty Seconds Buy Objective-C for Swift Developers Buy Server-Side Swift (Kitura Edition) Buy Beyond Code

Was this page useful? Let us know!

Unknown user

You are not logged in

Log in or create account

Link copied to your pasteboard.