變數定義錯誤

Dean發表於2014-08-29
reason: `[<MLDataModel 0xb586180> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key IsAdmin.’

將MLDataModel中變數IsAdmin
從定義

@property (nonatomic, assign)BOOL *IsAdmin;

改為

@property (nonatomic,copy)NSString *IsAdmin;

相關文章