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

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 Fernando Olivares

SPONSORED Fernando's book will guide you in fixing bugs in three real, open-source, downloadable apps from the App Store. Learn applied programming fundamentals by refactoring real code from published apps. Hacking with Swift readers get a $10 discount!

Read the book

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.