Re: CoreData problem - AttributeDescription seems invalid --- What am I doing wrong?
Re: CoreData problem - AttributeDescription seems invalid --- What am I doing wrong?
- Subject: Re: CoreData problem - AttributeDescription seems invalid --- What am I doing wrong?
- From: Quincey Morris <email@hidden>
- Date: Thu, 02 Jun 2011 18:40:29 -0700
On Jun 2, 2011, at 16:17, Steve Steinitz wrote:
> On 2/06/11, Motti Shneor <email@hidden> wrote:
>
>> for (NSAttributeDescription* attribute in self.entity.attributesByName )
This actually got answered yesterday (http://lists.apple.com/archives/cocoa-dev/2011/Jun/msg00039.html). 'attributesByName' returns a dictionary, so the 'for (... in ...)' construct is going to enumerate string keys of the dictionary, not the attribute descriptions themselves. I'm not sure if this was one of those random reposts we sometimes see on the list, or if Motti didn't see the original answer.
_______________________________________________
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