gaqchannel.blogg.se

Sitesucker nsinternalinconsistencyexception
Sitesucker nsinternalinconsistencyexception







sitesucker nsinternalinconsistencyexception

It looks for a MyViewController.nib file." For example, if the class name is MyViewController, It looks for a nib file whose name matches the name of the viewĬontroller class. In MyViewController, it looks for a nib file whose name matches theĬlass name without the word “Controller”, as in MyView.nib. "If the view controller class name ends with the word “Controller”, as So basically, I wanted MainViewController.xib to load as the nib for the MainViewController object, and inside MainViewController, at some later point, I would add the internal view specified by MainView.xib.ġ.) I found in the Apple docs that when loading a view controller via storyboard or nib: It basically encapsulated an internal view that would be in the MainViewController.xib's view, and also had it's File Owner set to MainViewController. I also made a MainView.xib that contained a view that was going to be programmatically added to the view defined in MainViewController.xib and it's view. This nib has it's view property set to the File Owner which was MainViewController. Basically, I have a view controller name MainViewController, which has a xib named MainViewController.xib.

sitesucker nsinternalinconsistencyexception

I had this issue as well, but had to solve it a different way. I might have had a file with that name before and renamed/deleted it, but it's not being referenced to from anywhere that I can see in IB. file://localhost/Users/bemmu/Dropbox/b2/iphone/ValleyStory/ValleyStory/GameView.xib If I grep my project directory, I do see it referenced from "UserInterfaceState.xcuserstate". Shouldn't it use "GameViewController.xib" instead? Using that GameViewController is what brings up this error, but I don't understand where it gets the idea to try and load "GameView.xib". I do have a "GameViewController.m" and matching "GameViewController.xib" in my project. But the thing is, I don't even HAVE a GameView.xib in my project or even in the project directory. You might be thinking "do as it says, connect the File's Owner to the View in IB!". * Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '- loaded the GameView nib but the view outlet was not set.' This is not the same situation as the multitude of other similar questions here.









Sitesucker nsinternalinconsistencyexception