A FetchResult isn't a array. That' why only P222PJP's solution will work.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: