Closed saikishoreagrapalem closed 6 years ago
description is one of the reserved keywords. There is a default workaround available for that. Just name your property in the object with an underscore in front of it. EVReflection will then automatically do the mapping for your. Alternatively you could use whatever name you like and add a propertyMapping for that (see propertyMapping in the readme)
Other reserved keywords are: "self", "description", "class", "deinit", "enum", "extension", "func", "import", "init", "let", "protocol", "static", "struct", "subscript", "typealias", "var", "break", "case", "continue", "default", "do", "else", "fallthrough", "if", "in", "for", "return", "switch", "where", "while", "as", "dynamicType", "is", "new", "super", "Self", "Type", "COLUMN", "FILE", "FUNCTION", "LINE", "associativity", "didSet", "get", "infix", "inout", "left", "mutating", "none", "nonmutating", "operator", "override", "postfix", "precedence", "prefix", "right", "set", "unowned", "unowned", "safe", "unowned", "unsafe", "weak", "willSet", "private", "public", "internal", "zone"
public class Descript: EVObject {
}
Following error are below I have mentioned
2.Overriding var must be as accessible as its enclosing type
3.Property 'description' with type 'String!' cannot override a property with type 'String'.
Suggest Me How can I Fix this error ???????