Dictionary
Nsmutabledictionary *dic = [NSM. Dictiongarywithobject: @ "" forkey:@ "" ";(any object that implements Nscopying)dic setobject: @" "Forkey: @" ". @[] shorthand for ———— array
Note: Dictionaries are unordered. Create page jump (in dictionary): Move VC Dictionary to TVC 1, create array (immutable) dictionary declared as attribute 2, DIC becomes self at this time. DIC3, number of lines self.dic.count4, number of rows added: 5, display the contents of the province to load the name, 6, create Didselectrow. Click the Jump page event, (city) 7, create a page CITYTVC with SB Create a new page association in the province TVC, click the event to remove from the array in the province name, and then create the declaration of a DIC Association 8, in the number of rows in CITYTVC AllKeys is (in the dictionary) the name of each province 9, Re-create page and SB Create page, (county)
IOS Dictionary--Learning notes in Lan Yi education