• 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
Exiting program?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Exiting program?


  • Subject: Exiting program?
  • From: Marcus Pedersén <email@hidden>
  • Date: Tue, 31 Oct 2006 21:20:03 +0100

Hi all!
I have a small app where I have got an Exit button. When user clicks the button the message exit(0) is sent and the app treminates. So far so good.
In the app I use NSUserDefaults to save strings to DB.
...and here is my problem.
If I delete a row in my view and exit my app with exit(0) this row appears again when app is started, but if I delete a row and than quits my program with the main (left) menu "Quit myApp" the row disapears and does not show on restart, so how is Quit in main menu set up and what is the difference compared with exit(0)??


Many thanks in advance!

Marcus
_______________________________________________
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


  • Follow-Ups:
    • Re: Exiting program?
      • From: Hank Heijink <email@hidden>
    • Re: Exiting program?
      • From: "Stephen Deken" <email@hidden>
  • Prev by Date: Re: Cocoa-dev Digest, Vol 3, Issue 1303
  • Next by Date: Re: Exiting program?
  • Previous by thread: Re: Cocoa-dev Digest, Vol 3, Issue 1303
  • Next by thread: Re: Exiting program?
  • Index(es):
    • Date
    • Thread