I remember when I was young when I wanted to get the right spelling of a word. My dad would say "Use the dictionary!". It always bothered me because to use a dictionary you need to locate the word and to locate the word, you need to know its spelling. I understand now what he meant - that I should look for the word based on what I think the spelling should be. Nevertheless, I always thought it was a funny request.
Now back to 2012. I finished off chapter 21 by learning about NSDictionary/NSMutableDictionary. Remembering back to Kochan, I kind of liked this collection type. Simple if you think about it. Key->Value. No biggie. Also, there is no order which is weird considering its a dictionary. Oh, whatever.
The challenge in the chapter had me go to the Apple site and read about the NSArray, MSMutableArray, NSDictionary and NSMutableDictionary references.
No comments:
Post a Comment