In the below dictionary I want to write a condition for type class, Is there any way to identify the class type alone in the iteraction
NSDictionary *dictionary = [NSDictionary dictionaryWithKeysAndObjects:@"check",@"checkValue",@"webservice", [webservice class], @"list",@"listValue", nil, @"task", [task class], @"new", @"newValue", @"operation",[operation class]];
for(NSString *aKey in dictionary) {
if ([[dictionary valueForKey:aKey]) {
NSLog(@"Getting In");
}
}
Note :I want a single condition to check values [webservice class],[task class],[operation class]