• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Crash at iOS App Startup - What Could Have Gone Wrong?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash at iOS App Startup - What Could Have Gone Wrong?


  • Subject: Re: Crash at iOS App Startup - What Could Have Gone Wrong?
  • From: Michael Crawford <email@hidden>
  • Date: Tue, 21 Apr 2015 10:13:05 -0700

OK I'll set up a git repository, but I'd like to fix this first.

I think my MainWindow.xib got misconfigured or corrupted, so I made a new one.

I have a UINavigationController with a custom class inside it called
LifeIPhoneViewController.  Inside the latter is a LifeView as well as
some controls - to start and stop the animation etc.

If I don't assign a root view controller to the initial window I get a
blank white screen as well as an NSLog that informs me that a root
view controller is expected by the end of startup.

If I assign either the UINavigationController or the
LifeIPhoneViewController to be the window's root view controller I get
a crash.

I'm going to try replacing the LifeIPhoneViewController with a plain
vanilla UIViewController that doesn't do anything.

My .xibs are a mess because they evolved organically.  What I'd like
to get out of this is not so much a running application as a neatly
designed and implemented one.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Crash at iOS App Startup - What Could Have Gone Wrong?
      • From: Mike Abdullah <email@hidden>
References: 
 >Crash at iOS App Startup - What Could Have Gone Wrong? (From: Michael Crawford <email@hidden>)
 >Re: Crash at iOS App Startup - What Could Have Gone Wrong? (From: Jonathan Mitchell <email@hidden>)
 >Re: Crash at iOS App Startup - What Could Have Gone Wrong? (From: Michael Crawford <email@hidden>)
 >Re: Crash at iOS App Startup - What Could Have Gone Wrong? (From: Jens Alfke <email@hidden>)

  • Prev by Date: RE: Converting to Window Coordinates
  • Next by Date: Re: Crash at iOS App Startup - What Could Have Gone Wrong?
  • Previous by thread: Re: Crash at iOS App Startup - What Could Have Gone Wrong?
  • Next by thread: Re: Crash at iOS App Startup - What Could Have Gone Wrong?
  • Index(es):
    • Date
    • Thread