Dictionary
Nsmutabledictionary *dic = [NSM. Dictiongarywithobject: @ "" forkey:@ "" ";
(Any object that implements the Nscopying)
DIC setobject: @ "" Forkey: @ "".
@[] shorthand for ———— array
Note: Dictionaries are unordered.
Create a page jump (in a dictionary):
To move the VC dictionary to TVC
1. Create an array (immutable)
Dictionary declaration as attribute
2. DiC becomes self at this time. Dic
3, line number Self.dic.count
4. Add in number of lines.
5. Display the name of the content in the province,
6. Create Didselectrow. Click the Jump page event, (city)
7. Create a page CITYTVC associated with a new page created by SB
In the Save TVC, click the event to remove from the array in the province name, and then create
Declaring a dic
Association
8, in the CITYTVC
The AllKeys in the number of rows is the name of each province (in the dictionary)
9. Re-create page and SB Create page, (county)
IOS making albums--learning notes in Lan Yi education