PDA

View Full Version : loaded nib but no view was set error




leed76
Aug 4, 2008, 05:42 PM
Hi All:

I keep getting an "loaded nib <insert your nib here> but no view was set" error. I checked in IB and my File's Owner is set to MyViewController and it's view outlet is set to View. I also threw in some log lines and found out it's coming from the [self.navigationController pushViewController:animated:].

Anyone have any suggestion to fix/debug this? Anyone ...



kainjow
Aug 4, 2008, 10:59 PM
I'd double check your nib connections again. IB has a Connections Inspector that can confirm what is hooked up. Also make sure the nib name in code matches the nib file.