Re: Use of Application nib file template
Re: Use of Application nib file template
- Subject: Re: Use of Application nib file template
- From: Rick Mann <email@hidden>
- Date: Sun, 29 Jan 2012 03:55:43 -0800
Figured it out. Some of the objects in my new nib weren't properly set up.
In this day and age of Xcode 4 and iOS 5, I'm really disappointed that the NIB loading still doesn't report errors very well.
--
Rick
On Jan 29, 2012, at 3:29 , Rick Mann wrote:
> Okay, slight misunderstanding about how this file is supposed to work. I got it in my head that it actually instantiated the UIApplication object. I realize now that it does not.
>
> Now I just have to figure out why an exception is being thrown. I'm sure it's some sort of name mismatch with Info.plist.
>
> --
> Rick
>
> On Jan 29, 2012, at 3:08 , Rick Mann wrote:
>
>> One of the file templates for iOS UI is "Application," described as, "An Interface Builder document suitable for creating an iOS application, including an application delegate and window."
>>
>> Problem is, I don't see how to use it. I tried making it the main nib file (via info.plist), but my app throws an exception in UIApplicationMain(), without logging any information indicating what's wrong.
>>
>> In the past, I've had nib files for the main window (main nib via Info.plist), and the file's owner is the application, indicating it's already created.
>>
>> How am I intended to use the Application NIB file?
>>
>> Thanks,
>> Rick
>>
>>
>> _______________________________________________
>>
>> 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
>
>
> _______________________________________________
>
> 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
_______________________________________________
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