motion_data_wrapper icon indicating copy to clipboard operation
motion_data_wrapper copied to clipboard

Reserved words "Group" for entity and "Name" for attribute

Open mipmip opened this issue 12 years ago • 4 comments

When I was trying to the tutorial http://lifeasclay.wordpress.com/2011/02/13/connecting-nsoutlineview-to-core-data-in-10-6-part-1-ordered-trees/ in a RubyMotion way I experienced that the words "Group" for entity and "Name" for attribute are some how reserved. I had to rename them to make everything working. Is this correct?

mipmip avatar Oct 10 '13 12:10 mipmip

Possibly, I don't think this would be a RubyMotion related issue. I'm honestly not sure where to even check in Apple's documentation for such things, but it seems like reasonable reserved words for those attributes in CoreData to me.

macfanatic avatar Oct 11 '13 12:10 macfanatic

"Group" and "name" normally work in Core Data. For description I'm not sure.

mipmip avatar Oct 11 '13 14:10 mipmip

Share a stack trace or screenshot then? Interesting indeed

macfanatic avatar Oct 11 '13 14:10 macfanatic

Oke, 'name' is working. Group seems really to be a reserved word in rubymotion and not in obj-c. clone this to see it: https://github.com/mipmip/mdatawrapper-reserved-words. There are no error messages. data model below.

schermafbeelding 2013-10-11 om 16 49 02

mipmip avatar Oct 11 '13 14:10 mipmip