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.
可能重复: 如何在 iphone 中获取 NSMutableDictionary 计数?
如何NSMutableDictionary在iphone中计数。
NSMutableDictionary
NSLog(@"Count : %d",[yourDictionary count]) OR NSArray *keys = [yourDictionary allKeys]; NSLog(@"Count : %d", [keys count]);