• 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: Core Data: fetching a subset of attributes/columns
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data: fetching a subset of attributes/columns


  • Subject: Re: Core Data: fetching a subset of attributes/columns
  • From: Fritz Anderson <email@hidden>
  • Date: Sat, 20 Mar 2010 16:01:20 -0500

On 20 Mar 2010, at 12:52 PM, Gabriel Fernandez wrote:

> 2) using the -setPropertiesToFetch: method of NSFetchRequest, with the "id" NSAttributeDescription I'm looking for as the only object in the properties array. But when I use the -(NSArray*) properties method of the fetched objects, the "image" attribute is there with a non-nil value.

This may be a dumb question, but I'm curious to know about this "properties" method. According to the Xcode docs, there are ten methods by that name, none of them defined for NSManagedObject or its ancestors. Therefore I don't understand how you're getting an intelligible response to sending "properties" to the NSManagedObjects that got fetched. Possibly you are looking for your answer in the wrong method of the wrong objects?

	— F

_______________________________________________

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

References: 
 >Core Data: fetching a subset of attributes/columns (From: Gabriel Fernandez <email@hidden>)

  • Prev by Date: Re: about 3D sound
  • Next by Date: CoreImage on threads?
  • Previous by thread: Core Data: fetching a subset of attributes/columns
  • Next by thread: Re: Core Data: fetching a subset of attributes/columns
  • Index(es):
    • Date
    • Thread