Re: Use of Application nib file template

2012-01-29 Thread Ben Kennedy
On 29 Jan 2012, at 2:23 pm, Kyle Sluder wrote: >>> Or you could just print the first argument; consult your local ABI >>> documentation for more info. >> >> Why doesn't Xcode do this automatically? Infuriating. > > Do what, start calling Objective-C runtime functions in my program > without my

Re: Use of Application nib file template

2012-01-29 Thread Kyle Sluder
On Sun, Jan 29, 2012 at 11:12 AM, Ben Kennedy wrote: > On 29 Jan 2012, at 8:54 am, Kyle Sluder wrote: > >> When it threw an exception, did you break in the debugger? By default, Xcode >> breaks on objc_exception_throw. Obviously you will need to hit Continue if >> you want to see any log output.

Re: Use of Application nib file template

2012-01-29 Thread Rick Mann
Yep, I hit continue. It just jumps to __kill without logging. Printing the first argument might work, I'll try that next time. Sent from my iPhone On Jan 29, 2012, at 8:54, Kyle Sluder wrote: > On Jan 29, 2012, at 3:55 AM, Rick Mann wrote: > >> Figured it out. Some of the objects in my new

Re: Use of Application nib file template

2012-01-29 Thread Ben Kennedy
On 29 Jan 2012, at 8:54 am, Kyle Sluder wrote: > When it threw an exception, did you break in the debugger? By default, Xcode > breaks on objc_exception_throw. Obviously you will need to hit Continue if > you want to see any log output. Or you could just print the first argument; > consult your

Re: Use of Application nib file template

2012-01-29 Thread Kyle Sluder
On Jan 29, 2012, at 3:55 AM, Rick Mann wrote: > 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. When it threw an exception, did you bre

Re: Use of Application nib file template

2012-01-29 Thread Rick Mann
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 ho

Re: Use of Application nib file template

2012-01-29 Thread Rick Mann
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.p

Use of Application nib file template

2012-01-29 Thread Rick Mann
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 th