I have a simple Core Data entity that had a string attribute named "description".
The program crashes when it hits:
valueForKey:@"description"
I changed the "description" attribute to "text" and problem solved.
Why does this happen?
Is "description" a reserved key word in Core Data?
Is it related to calling the description method from NSObject?
Is there a reference to these reserved key words if they exist?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…