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.
配列をソートしたい NSSortDescriptor を使用しても配列内の重複が削除されない
NSSortDescriptorはソートのみで、重複は削除されません。最初に重複を削除する必要があります。確認する必要があります。
nsarrayの重複を削除する
次にNSSortDescriptorを使用します
または、配列から を作成してNSSet並べ替えますか?
NSSet