Re: CoreData and "should quit after last window closed"
by Martin Schlueter <schlueter@[EMAIL PROTECTED]
>
Feb 1, 2008 at 04:13 PM
Gregory Weston <uce@[EMAIL PROTECTED]
> schrieb:
> 3. You could provide an explicit menu command for the user to invoke to
> reopen the window, as Mail and iTunes do.
That'll be a good idea. But do you have any idea how to tell my CoreData
app
via AppleScript to re-open the window?
> What object did you link it *to*? I've only done the briefest of
> dabbling with AppleScript Studio, but for Cocoa that handler will only
> be triggered if it's implemented by an object that's designated as the
> delegate for the application.
I linked the handler to the AppleScript properties of the File's Owner
instance in the main window of Interface Builder. As was shown in the
currency converter tutorial. But this does not work with a CoreData app.
ciao
Martin