WWDC23 SALE: Save 50% on all my Swift books and bundles! >>

What are the biggest shortcomings of SwiftUI?

Recorded – watch the full episode on YouTube.

What are the biggest shortcomings of SwiftUI currently, in your opinion?

Meng To: To be honest, I'm not the right person to ask this question because I don't have the same amount of experience with SwiftUI as you, for example, but definitely the first thing that comes to mind is the collection view.

What else? The storyboard, obviously. The fact that you can visually change everything in a design tool. In SwiftUI you have to do it in code, which is fine, because at the end of the day, what I noticed when I started with SwiftUI is that in the preview you can drag and drop stuff. You can insert something and then drag it to the preview.

I think that's nice. It's great for beginners, but at the end of the day, I'm like, “well, eventually I don't even use it anymore because the coding part is so good.” So that's how I feel about storyboard as well. At the beginning it's great. It's great for creating quick layouts. And eventually you just end up having so much trouble, or at least you feel like there's a way to do it better or faster, that you feel like, maybe I should just do everything in code. And I think SwiftUI is that answer.

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

Save 50% in my WWDC23 sale.

SAVE 50% To celebrate WWDC23, all our books and bundles are half price, so you can take your Swift knowledge further without spending big! Get the Swift Power Pack to build your iOS career faster, get the Swift Platform Pack to builds apps for macOS, watchOS, and beyond, or get the Swift Plus Pack to learn advanced design patterns, testing skills, and more.

Save 50% on all our books and bundles!

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.