(OLD) Bindings and forms - SwiftUI Starter Project 9/14

preview_player
Показать описание
In this video we dive into SwiftUI's amazing forms system, adding a picker to let users select their method of payment.

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.
Рекомендации по теме
Комментарии
Автор

5:08 wouldn't it be better to use something like "...= paymentTypes[0]" instead of hard-coding the "Cash" value? I tried that, but it didn't work, but surely there *is* a way to be a bit more robust?

DavidNitzscheBell
Автор

oh, crap. less than a year later, it's visually different your Preview and my Preview... hard to keep these tutorials fresh, ain't it?

DavidNitzscheBell
join shbcf.ru