Tagged: List
There are 35 items tagged #List.
And there a lots of other tags to explore.
There are 35 items tagged #List.
And there a lots of other tags to explore.
In iOS 15, SwiftUI can indirectly set content inset using the safeAreaInset modifier. Let's learn how to do it.
Learn how to remove the topmost separator in any List view.
The onMove modifier enables item reordering on every row. Let's learn how to disable this on particular rows.
The onDelete modifier enables item deletion on every row. Let's learn how to disable this on particular rows.
Learn how to remove the bottom separator in any List view.
Learn how to enable/disable the reorder ability in SwiftUI List.
Learn how to enable/disable the delete ability in SwiftUI List.
Some list style has section separators. Let's learn how to remove them.
A list view doesn't support horizontal scrolling, but we can fake it using ScrollView and LazyHStack. Let's learn how to do it.
It is very common to populate a list view from an array of data. Let's learn how to do it in SwiftUI.
Even though ForEach and List have similar syntax, they serve different purposes. Let's learn about their differences.
In iOS 15, we can remove a List row separator. Let's learn how to do it.
You can use ForEach inside a List view in SwiftUI, but when should we use it? Let's learn in which cases we should use ForEach.
In iOS 16, SwiftUI finally got a new modifier to disable scrolling in ScrolView and List.
Most of those styles use uppercase text for the section header. In this article, we will learn how to opt-out of this behavior.
In iOS 16, we can adjust a List row separator insets with the new alignment, listRowSeparatorLeading.
In this article, I will show you all 6 list styles you can use with SwiftUI List view in iOS.
When creating an app, there is a time when you want to create a repetitive view or a collection of views from an array of data. We can do that in SwiftUI with ForEach.
SwiftUI made it incredibly easy to create a list or table view compared to how we do it in UIKit. Let's learn how to use it.
In iOS 16, we finally got a native way to change the background color of a list view in SwiftUI.
Learn a dedicated modifier to change a list row background color in SwiftUI.
We can group related data in a SwiftUI list using Section view. We can also optionally add a header and footer to describe a particular section. Let's learn how to do that.
Part 4 in the series "Building Lists and Navigation in SwiftUI". We will explore a NavigationView, UINavigationController equivalent in SwiftUI.
Part 3 in the series "Building Lists and Navigation in SwiftUI". We will explore a List, UITableView equivalent in SwiftUI.
Part 2 in the series "Building Lists and Navigation in SwiftUI". We will explore a ScrollView, UIScrollView equivalent in SwiftUI.
Part 1 in the series "Building Lists and Navigation in SwiftUI". We visit the first building block of any list view, content, and how to create them.
See all tags.