• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CoreData apps & applicationShouldTerminate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >CoreData apps & applicationShouldTerminate (From: T Reaves <email@hidden>)

  • Prev by Date: CoreData apps & applicationShouldTerminate
  • Next by Date: Re: Document Types
  • Previous by thread: CoreData apps & applicationShouldTerminate
  • Next by thread: NSData hexadecimal to 16 bit integer?
  • Index(es):
    • Date
    • Thread