title: Cannot convert return expression of type 'FetchedResults<>' to return type '[String]'
body: <p>I'm trying to search through a list of bookmarks by name stored in Core Data but I'm getting this error next to 'return items' in var searchResults</p>
  <p>&quot;Cannot convert return expression of type 'FetchedResults &lt;MyBookmark to return type '[String]'&quot;</p>
  <pre><code> @FetchRequest(sortDescriptors: [NSSortDescriptor(keyPath: \MyBookmark.name, ascending: true)], animation: .default)
   private var items: FetchedResults&lt;MyBookmark&gt;
   @State private var searchText = &quot;&quot;
  
           ForEach(searchResults, id: \.self) { myBookmark in                        
                      Text(myBookmark.name!)
                      Text(myBookmark.url!)
                     }
                     .searchable(text: $searchText)
  
  
  
  
           var searchResults: [String] {
              if searchText.isEmpty {
                 return items
            } else {
                return items.filter { $0.localizedCaseInsensitiveContains(searchText) }
              }
           }
  </code></pre>
  <p>MyBookmark</p>
  <pre><code>@objc(MyBookmark)
  public class MyBookmark: NSManagedObject, BaseModel {
      static var all: NSFetchRequest&lt;MyBookmark&gt; {
          let request: NSFetchRequest&lt;MyBookmark&gt; = MyBookmark.fetchRequest()
          request.sortDescriptors = []
          return request
      }
      
  }
  
  
  extension MyBookmark {
  
      @nonobjc public class func fetchRequest() -&gt; NSFetchRequest&lt;MyBookmark&gt; {
          return NSFetchRequest&lt;MyBookmark&gt;(entityName: &quot;MyBookmark&quot;)
      }
  
      @NSManaged public var name: String?
      @NSManaged public var url: String?
  
  }
  
  extension MyBookmark : Identifiable {
  
  }
  </code></pre>
  <p>This is for a macOS app</p>