Re: Core Data: fetching a subset of attributes/columns
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