• 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
Core Data - Transient getters called during save
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Core Data - Transient getters called during save


  • Subject: Core Data - Transient getters called during save
  • From: David Alter <email@hidden>
  • Date: Mon, 9 Oct 2006 14:57:03 -0700

I have a Transient data attribute that is part of my Core Data data model. It reads the data as needed and this works great. That is until it does a save. Then "Core Data" calls the getter method on this attribute for each added object to the data store. This process is slow and has no value seeing the the data does not live in the data store. It is also memory intensive. Part of the reason this attribute is Transient and its own entity is because it is a large peace of data. I wanted to minimize when it was loaded into memory.

Why is the getter called for Transient attributes during a save? Am I misunderstanding on how I should use Transient?

thanks for the help.

-dave

_______________________________________________
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: Core Data - Transient getters called during save
      • From: Jim Correia <email@hidden>
  • Prev by Date: Re: Re: Re: Re: NSCalendarDate saving and loading to get the same date-time
  • Next by Date: Re: Core Data - Transient getters called during save
  • Previous by thread: CoreData & temporary oid (REPOST)
  • Next by thread: Re: Core Data - Transient getters called during save
  • Index(es):
    • Date
    • Thread