Composing views to create a list row - SwiftUI Starter Project 3/14

preview_player
Показать описание
In this video we use HStack and VStack to create a new SwiftUI view to represent individual rows in our list.

This project is aimed at programmers who have some experience with Swift and UIKit already, and want to get up to speed with SwiftUI as quickly as possible.
Рекомендации по теме
Комментарии
Автор

I bit of (hopefully helpful) feedback here on this series (and perhaps other series you do)... a bit before the end of each video, a large rectangular thumbnail appears on the left half of the viewing area as a link to the next video in the series, and a round thumbnail link to (I suppose) your channel, appears on the right. They both cover up important details as you complete the video. Much better if you complete the "lesson" a few seconds earlier, then just have some generic image showing for the final seconds that those thumbs can overlay.

ExTexan
Автор

Excellent video, thanks Paul. At 4 minutes in when you show Image and Text and the canvas only shows the Image view, I think the Text view gets put on a (new) second iPhone canvas, you can see the second canvas appear.

nigelpardoe
Автор

Forgive me if I am being stupid but when I type “item: MenuItem.example” I still get an error. If I leave it blank I cannot preview the app as as such, I do not know what to type in order for me to see the rest of the coding come to life. Can you advise please? 2:20

clevelandbrandy
Автор

Is a "Haytch-Stack" better then a regular "H-Stack" BTW my German friend swears by "Fow-Stacks" but I'm sticking with V-Stacks

robertmartens