So this is neat (not really). Apple created a SwiftUI view simply called "List"....

@puppethead@ieji.de

So this is neat (not really). Apple created a SwiftUI view simply called "List". Fine, but I'm trying to figure out how to make a "list" that's limited to five rows tall regardless of how much data is in the list, and because of Apple's generic name it's impossible to do a web search for "swiftui list that's a fixed number of rows".

(Not to mention I'm working on macOS and running into 90+% iOS examples, but that's a known struggle.)

Update: added an example window that shows what I'm going for, taken from macOS Finder.

#SwiftUI #SwiftLang #macOSDev