Thanks. It worked. On Sat, Apr 26, 2008 at 1:34 PM, Jean-Daniel Dupas <[EMAIL PROTECTED]> wrote: > > > Le 26 avr. 08 à 11:57, Jere Gmail a écrit : > > I have created Document-Based application. The problem is that every > time I run the application an empty document is created. > I don't want this to happen. I want the user to have to open a new one. > How can I disable this behaviour? > > > Implements this method in your NSApplication delegate to return NO: > > - (BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender > >
-- http://zon7blog.wordpress.com/ And again we fall. _______________________________________________ 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 [EMAIL PROTECTED]