Dynamically changing the contents of a view in an NSSplitView?

Viewed 2109

I have an application which has a layout similar to iTunes. The main window is an NSSplitView.

Depending on what the user selects in the left column, I need to show a different view. For example, in itunes if you click on "Music" you see a list of songs in a table, if you click on "TV Shows" I see a white screen with some text on it.

Been trying to work this out for ages, any pointers in the right direction would be very handy!

4 Answers
Related