• 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: A CoreData Limitation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A CoreData Limitation?


  • Subject: Re: A CoreData Limitation?
  • From: mmalcolm crawford <email@hidden>
  • Date: Tue, 17 May 2005 14:13:36 -0700


On May 17, 2005, at 12:40 PM, Nicko van Someren wrote:

Then you make the Row object a custom subclass of NSManageObject and implement a custom implementation of various bits of key-value coding so that valueForKey: @"foo" actually does a fetch from the set of cells with a predicate of cell.column.name == "foo" and insertion with setValue:forKey: does the right thing too.

If you want to follow this pattern (and I'm still not sufficiently clear on the actual task to advise on that) then the appropriate mechanism here would be to use a fetched property:
<http://developer.apple.com/documentation/Cocoa/Reference/ CoreData_ObjC/Classes/NSFetchedPropertyDesc.html>


mmalc

_______________________________________________
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: A CoreData Limitation?
      • From: Nicko van Someren <email@hidden>
References: 
 >A CoreData Limitation? (From: Arthur Schuster <email@hidden>)
 >Re: A CoreData Limitation? (From: Nicko van Someren <email@hidden>)

  • Prev by Date: Re: Bindings & empty strings
  • Next by Date: Checkmark in a popup with bindings
  • Previous by thread: Re: A CoreData Limitation?
  • Next by thread: Re: A CoreData Limitation?
  • Index(es):
    • Date
    • Thread