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
silver...@videotron.ca
http://www.silverscripting.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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com