NEW: My new book Pro SwiftUI is out now – level up your SwiftUI skills today! >>

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

Hacking with Swift is sponsored by Play

SPONSORED Play is the first native iOS design tool created for designers and engineers. You can install Play for iOS and iPad today and sign up to check out the Beta of our macOS app with SwiftUI code export. We're also hiring engineers!

Click to learn more about Play!

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.