¡@

Home 

2014/10/15 ¤U¤È 10:09:30

iphone Programming Glossary: gameviewcontroller

'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the GameView nib but the view outlet was not set

http://stackoverflow.com/questions/5464010/nsinternalinconsistencyexception-reason-uiviewcontroller-loadviewfromnib

in IB . But the thing is I don't even HAVE a GameView.xib in my project or even in the project directory. I do have a GameViewController.m and matching GameViewController.xib in my project. Using that GameViewController is what brings up this error but I don't.. even HAVE a GameView.xib in my project or even in the project directory. I do have a GameViewController.m and matching GameViewController.xib in my project. Using that GameViewController is what brings up this error but I don't understand where it gets the idea.. the project directory. I do have a GameViewController.m and matching GameViewController.xib in my project. 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 . Shouldn't it use..

UIViewController retain count problem

http://stackoverflow.com/questions/7483260/uiviewcontroller-retain-count-problem

retain count problem I am creating a new UIViewController with the below code GameViewController temp GameViewController alloc initWithNibName @ GameViewController bundle nil NSLog @ retain count d temp retainCount temp.backgroundMusic.. retain count problem I am creating a new UIViewController with the below code GameViewController temp GameViewController alloc initWithNibName @ GameViewController bundle nil NSLog @ retain count d temp retainCount temp.backgroundMusic backgroundMusic.. creating a new UIViewController with the below code GameViewController temp GameViewController alloc initWithNibName @ GameViewController bundle nil NSLog @ retain count d temp retainCount temp.backgroundMusic backgroundMusic self.gameView temp temp release..