• 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: CoreData problem - AttributeDescription seems invalid --- What am I doing wrong?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: CoreData problem - AttributeDescription seems invalid --- What am I doing wrong? (From: Steve Steinitz <email@hidden>)

  • Prev by Date: Re: CoreData problem - AttributeDescription seems invalid --- What am I doing wrong?
  • Next by Date: Programmatically displaying UISplitViewController popover?
  • Previous by thread: Re: CoreData problem - AttributeDescription seems invalid --- What am I doing wrong?
  • Next by thread: Re: Code style (was: Notify With Parameters)
  • Index(es):
    • Date
    • Thread