1

I have a NSDictionary that each key refers to an NSArray object, I want to show the contents on a Cocoa APP on mac OSX 10.5, What is the best solution to this?

Maybe NSTreecontroller?

Justin Boo
  • 10,132
  • 8
  • 50
  • 71
  • That all depends on what the information is, and how your customers might want to see that information presented really. –  Jan 27 '12 at 16:30
  • well, Key is website URL AND it refers to a NSArray that contains the URLs of that website. – user1173450 Jan 27 '12 at 17:22
  • The point is, you should display the data that you think should be displayed. There is no "magic" way for the system to look at an NSDictionary and know what you want done with it. – Hot Licks Jan 27 '12 at 19:18

1 Answers1

1

These kinds of tree structures are well displayed by components like NSOutlineView or NSBrowser.

Please also have a look to Outline view programming guide by Apple, which introduces the subject (at least for outline views).