Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Laird Knox

macrumors 68000
Original poster
Jun 18, 2010
1,959
1,355
I expect this is a simple question but it just isn't clicking for me. If anybody can point me in the right direction or towards a tutorial it would be appreciated.

I am trying to create an app that has some buttons on the left side and a region on the right side. Clicking on the buttons will change the view in the region.

Untitled-1.png
So button one would show the tan view, button 2 the green view and button three the blue. I can embed the view in the region and it shows up just fine. If I wire the buttons to the views then they are displayed over the entire application view rather than in the sub-view.

I'm sure this isn't that difficult but I'm just not getting it. I've tried various views and controllers and not had any luck. My Google-Fu has been failing and I can't find any relevant tutorials. Can somebody help me sort this out?

Thanks!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.