curiouswebster
asked on
ObjC: Please explain Predicate
I have n exception in this code (which I did not write):
this class is not key value coding-compliant for the key 'questionGuid'.
I suspect the object i the wrong type, but need to understand the code a bit.
Can someone explain it to me?
NSPredicate* predicate = [NSPredicate predicateWithFormat:@"ques tionGuid LIKE[c] %@ ", [_result question].guid];
QuestionAsked* questionAsked = [[_quizEngine.theme.questi onAskedArr filteredArrayUsingPredicat e:predicat e] objectAtIndex:0];
[questionAsked updateResultArray:[submitT apDate timeIntervalSince1970] isCorrect:_result.isAnswer Correct];
this class is not key value coding-compliant for the key 'questionGuid'.
I suspect the object i the wrong type, but need to understand the code a bit.
Can someone explain it to me?
NSPredicate* predicate = [NSPredicate predicateWithFormat:@"ques
QuestionAsked* questionAsked = [[_quizEngine.theme.questi
[questionAsked updateResultArray:[submitT
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER