Is Cocoa the equivalent of a map from C ++?

I really like the map in C ++, it is easily and quickly programmed.

Is there anything similar in Cocoa?

I know that I can mix C ++ and obj-c together, but I would prefer to use a more obj-c way of programming :)

Thank!!

+3
source share
2 answers

Try NSDictionary / NSMutableDictionary .

/, , , ( , ). , , , .

+4

NSMapTable. , , NSDictionary.

+2

Source: https://habr.com/ru/post/1752905/


All Articles