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

-[NSManagedObject reallyIsDeleted]?


  • Subject: -[NSManagedObject reallyIsDeleted]?
  • From: Nick Zitzmann <email@hidden>
  • Date: Tue, 9 Dec 2008 18:38:04 -0700

I searched the archives and didn't see anything relevant...

The -[NSManagedObject isDeleted] method "incorrectly" returns false if the object has been deleted. This is in the documentation, despite the misleading name, but how do I find out if an NSManagedObject has really been deleted? Right now I'm putting exception handlers around - valueForKey: & then calling it, since the method raises an exception if the object truly has been deleted, but this seems really, really wrong.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: How Can I Notify DrawRect Method?
  • Next by Date: Re: Custom NSTableView cells
  • Previous by thread: Re: Custom NSTableView cells
  • Next by thread: Fix for Core Data + NSTreeController + NSOutlineView Crashes?
  • Index(es):
    • Date
    • Thread