Re: CoreData apps & applicationShouldTerminate
Re: CoreData apps & applicationShouldTerminate
- Subject: Re: CoreData apps & applicationShouldTerminate
- From: mmalcolm crawford <email@hidden>
- Date: Fri, 27 May 2005 20:49:44 -0700
On May 27, 2005, at 8:23 PM, T Reaves wrote:
I've created two play CoreData apps. I've noticed that
applicationShouldTerminate does not automatically get called. I
add a windowWillClose method and call it from there. I've also
noticed that the Tiles example applicationShouldTerminate is called.
Any idea why it is not being called in my play apps? Is it
something to do with using the CoreData project template?
There's no reason why Core Data would interfere with normal
application delegation.
Which application template are you using?
The Core Data Application template automatically sets up the
application delegate and provides an implementation of
- (NSApplicationTerminateReply)applicationShouldTerminate:
(NSApplication *)sender
which certainly is called.
If you're using a document-based application, how have you set up the
delegate? Have you either disconnected the delegate outlet in the
nib file, or misspelled the delegate method name?
mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden