I am (clearly) new to Xcode/IB/Obj-C, and I am trying to write a program that uses one window and several tabs to navigate to different sections of the program. With resources such as these forums and many books on the Obj-C subject, I have been able to figure out every thing I need for the program, with the exception of one item, and that is the tabs.
I like to break things down into small programs for testing purposes, and then use those principles in the main program. So right now, I'm trying to write a simple program with two tab views and a "Button" outside of those tab views. If your in "Tab 1", and you click the Button, then "Tab 1" should show up in a text field in the tab view, and likewise, if you move to "Tab 2" and click "Button", then "Tab 2" should show up in a text field in that tab view.
So I guess my basic question is... how do you get the program to know which tab view you're in? The online documentation is very unclear on whether I use NSTabView or NSTabViewItem, and I have been unsuccessful with any of the ways I can think of to get this (what should be a) simple problem solved.
I'm not asking for anyone to write the program for me (where's the fun in that, eh?) but does anyone know of a resource they can point me to where I can learn all about how IB 3 works with XCode 3 and NSTabView(Item)?
I like to break things down into small programs for testing purposes, and then use those principles in the main program. So right now, I'm trying to write a simple program with two tab views and a "Button" outside of those tab views. If your in "Tab 1", and you click the Button, then "Tab 1" should show up in a text field in the tab view, and likewise, if you move to "Tab 2" and click "Button", then "Tab 2" should show up in a text field in that tab view.
So I guess my basic question is... how do you get the program to know which tab view you're in? The online documentation is very unclear on whether I use NSTabView or NSTabViewItem, and I have been unsuccessful with any of the ways I can think of to get this (what should be a) simple problem solved.
I'm not asking for anyone to write the program for me (where's the fun in that, eh?) but does anyone know of a resource they can point me to where I can learn all about how IB 3 works with XCode 3 and NSTabView(Item)?