Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
「それぞれ1つ」を指定する述語を使用してクエリを実行できるかどうか疑問に思いました。述語のドキュメントでは、これに似たものはないようです。
ヘルプやリソースに感謝します。
更新:重複を含む列内のすべての一意のインスタンスを返したいです。
あなたの結果を取得NSPredicateし、それらをNSSet(またはその変更可能な子NSMutableSet) に入れます。定義により、セットには重複は含まれません。
NSPredicate
NSSet
NSMutableSet