Quickies

[categories] [index] [all (527)] [latest]

Cocoa Foundation
  1. Set values for keys from a dictionary:

    [person setValuesForKeysWithDictionary:d];
    

    Don't raise exceptions when class is not key value coding-compliant for given keys:

    - (void)setValue:(id)value forUndefinedKey:(NSString *)key {
        NSLog(@"-- unhandled key:%@", key);
    }