I have a question about the coding style, which should probably be asked to a senior programmer in the workplace, but since I'm the only Mac programmer, well, thatβs the way it is. I have a pop-up graphical interface for my software (3D models, data visualization), and the pop-up menu is mainly a tab control with tons of material on each tab (sliders, radio buttons, checkboxes, etc.). With something like 20 tab controls and maybe half a dozen tabs ... using one controller for all views will be very fast.
Is there a MainViewController that loads a bunch of good Tabs styles?
NSView *tabA = [[NSView alloc] initWithNibName:@"tabA.nib" bundle:[NSBundle bundleWithPath:@"/Applications/BOB.app"]]; NSView *tabB = [[NSView alloc] initWithNibName:@"tabB.nib" bundle:[NSBundle bundleWithPath:@"/Applications/BOB.app"]];
I like the way I do it on iOS, but I'm not sure about Mac OS X. I prefer a style that offers convenience and flexibility, as the code goes through prototyping, and I may have to change it often.
If this is not a good style, what is it?
Thanks!
source share