What are data structures in Objective-C? -


What are the data structures that we can use in Objective-C?

NSArray is your standard array structure.

NSDictionary A key-value "hash map"

NSSet is an anonymous collection of unique objects.

Each of these is irreversible (i.e., when you create them, you can not change them). If you need to modify them dynamically, you will use their unstable subclasses: NSMutableArray , NSMutableSet , etc.

For structures beyond this, check out the CHDTA structure framework, in which the queue, heap, trees, traps and so many things are:


Comments

Popular posts from this blog

Is there an open source WebSockets (JavaScript) XMPP library? -

java - Is there an object like a "Set" that can contain only unique string values, but also contain a count on the number of occurrences of the string value? -

iphone - How do I make a UIPickerView in a UIActionSheet -