Learn how to keep your SwiftUI code clean and organized by extracting your views.
This is a companion discussion topic for the original entry at https://www.kodeco.com/38052670-your-first-ios-swiftui-app-polishing-the-app/lessons/6
Learn how to keep your SwiftUI code clean and organized by extracting your views.
Hi! It looks the problem is on this line:
var body: some view {
Because Swift is case sensitive, you need to capitalize the type View
.
I could have sworn it was typed that way in the lesson but I tend to do this at 5 in the morning. Thank you so much for your videos, on to the next one