application: didFinishLaunchingWithOptions doesn't execute, but RootViewController: viewDidLoad does

Posted by BeachRunnerJoe on Stack Overflow See other posts from Stack Overflow or by BeachRunnerJoe
Published on 2010-05-14T04:26:47Z Indexed on 2010/05/14 4:34 UTC
Read the original article Hit count: 656

Filed under:
|
|

I'm playing around with the iPad SplitView template and it was working fine before I started swapping out view objects in my RootViewController. When it was working fine, the application:didFinishLaunchingWithOptions method would be called and would setup my persistant store objects, then the RootViewController:viewDidLoad method would be called to populate my rootView with data from my store. I opened up IB and started swapping out view objects in my RootView and now the application:didFinishLaunchingWithOptions method never gets called, but the RootViewController:viewDidLoad method still does. Obviously, the app crashes because the viewDidLoad method depends on the successful execution of the didFinishLauchingWIthOptions method to setup the persistent store objects. Does anyone have any thoughts on what is causing this or how I can go about investigating what's causing this?

I'm obviously new to iPhone OS development, so I apologize if this questions is absurd in any way. Thanks so much in advance for your help!

© Stack Overflow or respective owner

Related posts about ipad

Related posts about ipad-splitview