Hello, I'm working on my first iOS app. I haven't had a problem using interface builder in the standard way.
I want to use interface builder to configure and instantiate a button, but not add it to a view (because I want to add the button to a navigation bar, which is created in a different nib).
I tried to simply add the button (a segmented control) to the "document" in interface builder, add an outlet, and add it to the self.navigationItem in viewDidAppear:, but the outlet variable is null in viewDidAppear:.
I can create the button entirely programmatically, but I'd rather not. So, my questions are:
1) Can I configure and instantiate UI objects in interface builder, connect them to an outlet, and display them later programmatically? If so, what's the best way to do this?
2) Can I add my button to the navigation controller created in the other nib directly in interface builder?
Thanks! -Jeff