warning: Semantic Issue: Incompatible pointer types sending 'Class *' to parameter of type 'id' NSMutableDictionary* dict = [NSMutableDictionary dictionary]; Class k = [NSString class]; [dict setObject:k forKey:@"foo"]; NSLog(@"%@", dict);