Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

NSMutableDictionary or NSMutableArray?


My question arises from Learn Cocoa on the Mac 2nd Ed., page 142. The properties characters, monsters, and dungeons are declared as NSMutableDictionary. But just down the page, we create an NSMutableArray and put it into characters, monsters, and dungeons. What's going on?

(I've worked my way through Learn Objective-C on the Mac, but can't figure this one out.)




Sign In or Register to comment.