• 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: Getting all managed objects of given entity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting all managed objects of given entity


  • Subject: Re: Getting all managed objects of given entity
  • From: Chris Hanson <email@hidden>
  • Date: Sat, 9 Jul 2005 01:42:10 -0700

On Jul 8, 2005, at 10:01 PM, Charilaos Skiadas wrote:
Yeah, I was about to do that, but I'll opt for talking to the controllers that I already have doing the work for me. It would just mean my document class would need to connect to them. Oh well.

Why can't your document just issue a fetch request? It's very simple, only a couple lines of code.


I guess my question is what is the reason for the absence of the method? Was it deemed not useful? Or is it in some sense recommended to go through the controllers?

There's already a simple way in Core Data to do this, by issuing a fetch request for the entity without specifying a predicate. The advantage of issuing the request is that errors will be reported and you can control how the results you receive are sorted.


  -- Chris

_______________________________________________
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: Getting all managed objects of given entity
      • From: Charilaos Skiadas <email@hidden>
References: 
 >Getting all managed objects of given entity (From: Charilaos Skiadas <email@hidden>)
 >Re: Getting all managed objects of given entity (From: mmalcolm crawford <email@hidden>)
 >Re: Getting all managed objects of given entity (From: Charilaos Skiadas <email@hidden>)

  • Prev by Date: Parameter descriptions (was Re: Documentation frustrations)
  • Next by Date: Localized Ordinal Suffixes
  • Previous by thread: Re: Getting all managed objects of given entity
  • Next by thread: Re: Getting all managed objects of given entity
  • Index(es):
    • Date
    • Thread