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.
ディクショナリの値を必要とせずに識別子を保持するための効率的なデータ構造が必要です。を各キーの値として保持することは機能しNSNullますか?それとも、キーを高速に検索するためのより効率的なデータ構造はありますか?
NSNull
NSSetまたはを参照してくださいNSMutableSet。これは本質的NSDictionaryに値のない です。
NSSet
NSMutableSet
NSDictionary