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

Re: Exiting program?


  • Subject: Re: Exiting program?
  • From: "Stephen Deken" <email@hidden>
  • Date: Tue, 31 Oct 2006 14:24:34 -0600

...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

It appears again because your application did not gracefully exit.

You're looking for the NSApplication method -[terminate:(id)] -- call
it like this:

    [NSApp terminate:nil];

That's the equivalent to what happens via the main menu.

Stephen Deken
email@hidden
_______________________________________________
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: 
 >Exiting program? (From: Marcus Pedersén <email@hidden>)

  • Prev by Date: Exiting program?
  • Next by Date: Re: Exiting program?
  • Previous by thread: Exiting program?
  • Next by thread: Re: Exiting program?
  • Index(es):
    • Date
    • Thread