UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

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 Essential Developer

SPONSORED Join a FREE crash course for mid/senior iOS devs who want to achieve an expert level of technical and practical skills – it’s the fast track to being a complete senior developer! Hurry up because it'll be available only until April 28th.

Click to save your free spot now

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

BUY OUR BOOKS
Buy Pro Swift Buy Pro SwiftUI 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 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 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.