On Jun 2, 2011, at 16:17, Steve Steinitz wrote: > On 2/06/11, Motti Shneor <[email protected]> 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 protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
