Hi guys,
I'm new to Cocoa and Objective C, so go easy on me
I've been trying to create a tabbed interface by hacking around with the hello world application. So far ive managed to actually create some tabs, and I can make the view of each tab a solid colour.
However I'm unable to load a view that I've created with the Interface Builder, so that it can be displayed in the view of one of the tabs.
I thought something along these lines would load the view:
Assuming that I had all the properties set via the interface builder.
Where am I going wrong here? I've spent ages hacking around with it and cant seem to come up with any solution after much Googling.
My messy code can be found here:
http://zeddy.org/ahh.zip
Thanks,
Martin
I'm new to Cocoa and Objective C, so go easy on me
I've been trying to create a tabbed interface by hacking around with the hello world application. So far ive managed to actually create some tabs, and I can make the view of each tab a solid colour.
However I'm unable to load a view that I've created with the Interface Builder, so that it can be displayed in the view of one of the tabs.
I thought something along these lines would load the view:
Code:
MyVc *firstController = [[MyVc alloc] initWithNibName:@"HelloWorld" bundle:[NSBundle mainBundle]];
Where am I going wrong here? I've spent ages hacking around with it and cant seem to come up with any solution after much Googling.
My messy code can be found here:
http://zeddy.org/ahh.zip
Thanks,
Martin