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
看NSSetor NSMutableSet,它本质上是一个NSDictionary没有值的。
NSSet
NSMutableSet
NSDictionary