• 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
Changes to Core Data in iOS 8
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes to Core Data in iOS 8


  • Subject: Changes to Core Data in iOS 8
  • From: Rick Mann <email@hidden>
  • Date: Tue, 23 Sep 2014 16:24:31 -0700

In iOS 7, my app works fine. In iOS 8, deleting an entity eventually works, but whereas in iOS 7 my UI would update and show the change, the change doesn't seem to have "taken hold" by this time in iOS 8.

Basically, when the user deletes an entity, I delete it from the MOC (main thread), then mark my custom view as needing display. Its -drawRect: is called, but when it asks the owning entity for the set of related entities it draws, that set comes back with the deleted items still present (although they return true for -isDeleted).

When a later event causes the custom view to refresh again, the entity representations finally go away.

Has something changed in delete propagation between iOS 7 and 8?

TIA,

--
Rick Mann
email@hidden



_______________________________________________

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


  • Follow-Ups:
    • Re: Changes to Core Data in iOS 8
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Binding to selection of NSArrayController
  • Next by Date: Strange and interesting text rendering phenomenon in UITextField with auto layout
  • Previous by thread: Re: ios 8 crashing on "_updateInterfaceOrientationFromDeviceOrientation"
  • Next by thread: Re: Changes to Core Data in iOS 8
  • Index(es):
    • Date
    • Thread