Querying KVC Data
suggest changeif ([[dataObject objectForKey:@"yourVariable"] isEqualToString:"Hello World"]) {
return YES;
} else {
return NO;
}
You can query values stored using KVC quickly and easily, without needing to retrieve or cast these as local variables.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents