i have a NSDictionary of this type :
" **********" = (
"20110330 7Huge Sandstorm over niger",
"20110330 8Huge Sandstorm over niger",
"20110330 9CHuge Sandstorm over niger",
"20110330 AHuge Sandstorm over niger",
"20110330 B10CHuge Sandstorm over niger",
"20110330 **CHuge Sandstorm over niger",
""
);
" 2012" = (
"20110330 Huge Sandstorm over niger",
""
);
" just for the test" = (
"20110330 AHuge Sandstorm over niger",
"20110330 BHuge Sandstorm over niger",
"20110330 CHuge Sandstorm over niger",
"20110330 1Huge Sandstorm over niger",
"20110330 2Huge Sandstorm over niger",
"20110330 3Huge Sandstorm over niger",
"20110330 4Huge Sandstorm over niger",
"20110330 5CHuge Sandstorm over niger",
"20110330 6Huge Sandstorm over niger",
""
);
i want to do a tableView with ” * , 2012 , just for the test ” the titles of the differents section. And the content “20110330 7Huge Sandstorm over niger”,
“20110330 8Huge Sandstorm over niger”,
“20110330 9CHuge Sandstorm over niger…..” For each section.
Help me please.
Assuming the sub elements within each key are NSArrays, then you can just return the number of keys in the dictionary as the number of sections, the actual key for the title for each section, and then for the number of rows in each section return the number of elements in the array under that particular key