On Mon, Jan 12, 2009 at 11:11 AM, Greg Beaver <[email protected]> wrote: > Hi, > > Does anyone have working code that shows an application delegate in a > core data document-based app? I'm trying to intercept > applicationShouldOpenUntitledFile: in order to open the last-saved > document. I have code that works, but it causes this error: > > *** -[NSCFArray insertObject:atIndex:]: attempt to insert nil
First thing you need to do is find out where this error is coming from. Without that information, the problem is far too difficult. See "Breaking on Exceptions" on this page: http://www.cocoadev.com/index.pl?DebuggingTechniques Mike _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
