Jay Jay - 1 year ago 78
Objective-C Question

Get all keys of an NSDictionary as an NSArray

Is it possible to get all the keys from a specific

as a seperate

Answer Source

Just use

NSArray*keys=[dict allKeys];

In general, if you wonder if a specific class has a specific method, look up Apple's own documentation. In this case, see NSDictionary class reference. Go through all the methods. You'll discover many useful methods that way.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download