Re: applicationShouldOpenUntitledFile in Core Data App?
Re: applicationShouldOpenUntitledFile in Core Data App?
- Subject: Re: applicationShouldOpenUntitledFile in Core Data App?
- From: Jean-Nicolas Jolivet <email@hidden>
- Date: Wed, 04 Feb 2009 13:42:16 -0500
Thanks guys, turns out it was a stupid mistake on my end!
I'll only say this: If you're trying to prevent your app from creating
a new document when it launches, make sure your App delegate isn't
getting instantiated in your Document's nib! :P
(Oh and Andy, you're absolutely right about the terminology;
Implemented should've been used and not override!)
On 3-Feb-09, at 6:59 PM, Andy Lee wrote:
On Feb 3, 2009, at 3:06 PM, Jean-Nicolas Jolivet wrote:
I tried overriding the applicationShouldOpenUntitledFile in my App
delegate
P.S. This may sound nitpicky, but I suspect you weren't actually
*overriding* the method but merely *implementing* it. You're only
overriding a method if it is implemented by an ancestor class, and
for app delegates that's usually not the case. I only mention this
because the term "override" was misused in another thread and I
wonder if it's a common error I hadn't noticed before.
--Andy
Jean-Nicolas Jolivet
email@hidden
http://www.silverscripting.com
_______________________________________________
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