Value of type 'FetchedResults' has no dynamic member 'texts' using key path from root

実現したいこと

遷移先のTextEditorにListの文字列を代入

前提

textsはBinary DataでEntity設定しています。

発生している問題・エラーメッセージ

Value of type 'FetchedResults<Item>' has no dynamic member 'texts' using key path from root type 'FetchRequest<Item>.Configuration'

該当のソースコード

SwiftUI

12NavigationLink { 3 AnotherView(textEditorText: Text(items.texts[index])) 4 } 5

試したこと

itemsをItemにしました。

補足情報(FW/ツールのバージョンなど)

Xcode14.1

コメントを投稿

0 コメント