I'm betting you 5 bucks it's in your storyboard.  If the crash happens and the 
debugger doesn't point to things useful, it's likely in setting up the 
storyboard and in that, your first screen.


On Apr 21, 2015, at 7:43 AM, Michael Crawford wrote:

> I screwed something up.  If I can't fix it I can restore from backup.
> I'm too cheap to use git but I make regular tarballs.
> 
> I spent some time monkeying around with Interface Builder.  My iPhone
> .xibs were mostly complete but my iPad quite incomplete, as a while
> back I ripped everything out to replace my original UI with a
> UINavigationController.
> 
> Now I get a crash at startup.  It looks like an exception is thrown
> inside UIApplicationMain.
> 
> The reason that I'd like to fix this rather than just backing out my
> code is that I haven't done much iOS coding for a while, and would
> like to come back up to speed.  What better way than screwing up my
> project?
> 
> I can see that stuff like awakeFromNib and some other code is getting
> called here and there.  I speculate that an IBOutlet is nil; I've been
> adding assertions which has helped in the past but not yet for this.
> 
> I will try guard malloc later.
> 
> Yes I feel quite foolish even asking this here.
> 
> -- 
> Michael David Crawford, Consulting Software Engineer
> mdcrawf...@gmail.com
> http://www.warplife.com/mdc/
> 
>   Available for Software Development in the Portland, Oregon Metropolitan
> Area.
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/zav%40mac.com
> 
> This email sent to z...@mac.com


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to