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.
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!
Link copied to your pasteboard.