SwiftUI is a great framework that will make it easier and faster for developers to create views in the future. Unfortunately, it is currently at an early stage of development, and in my opinion, it lacks many key components. One of them is the equivalent of the well-known UICollectionView. So I decided to do it on my own.
In this episode we build an app to app to track Dad Jokes, first using navigation views and lists, then porting it to macOS using Catalyst and native macOS SwiftUI, and finally adding in custom UI with gestures and more.
...In this SwiftUI video, you'll learn how to display a list of data, navigate between two views and pass data between them.
Fetching JSON data and rendering it into a list is now changing with SwiftUI. The pattern you must follow now is to create state variables through a Bindable object and observe it through your view widgets. To load image data, we do the same thing through different state objects.
... how to present data in SwiftUI using both a List and a Scroll View. This won't necessarily be best practices, but it should get you up and running...
In this tutorial, we’ll look at the basics of SwiftUI and explore how to create navigation views, images, texts, and lists by building a simple contact list that shows all our tutorial team members.