flâneur — a map of the web's best reading

SwiftUI vs Interface Builder and storyboards - a free SwiftUI by Example tutorial

hackingwithswift.com · 757 words · saved by 1 readers

Every experienced iOS developer is familiar with Interface Builder and storyboards, and perhaps even XIBs too. They might not like them, but they are at least familiar with them. If you haven’t used these before, you should just skip this bit. Still here? That means you’ve used IB before and are probably curious how SwiftUI is different. Well, let me ask you this: have you ever edited a storyboard or XIB by hand? Probably not. Well, apart from that one time once, but broadly the answer is no – storyboards and XIBs contain a fairly large amount of XML that isn’t easy to read or easy to edit. Worse, storyboards have a habit of growing larger and larger over time. Sure, they might start off small, but then you add another view controller and another, and another, and suddenly you realize that you have ten screens of data in a single file, and any source control changes you make are suddenly quite painful. But although being a single point of failure isn’t great, and it’s basically impossi

SwiftUI vs Interface Builder and storyboards - a free SwiftUI by Example tutorial WWDC26: Save 50% on my books and bundles! >> < What is SwiftUI? Frequently asked questions about SwiftUI > SwiftUI vs Interface Builder and storyboards Paul Hudson @twostraws February 9th 2021 Updated for Xcode 16.4 Every experienced iOS developer is familiar with Interface Builder and storyboards, and perhaps even XIBs too. They might not like them, but they are at least familiar with them. If you haven’t used these before, you should just skip this bit. Still here? That means you’ve used IB before and are proba

Explore this link on the map →

related reading