First page Back Continue Last page Graphics
Key Value Coding
We changed the values of attributes by dot operator in case of properties.
Key Value Coding (KVC) allows you to set and retrieve attribute values by passing String based key.
Examples:
- [car valueForKey:@"name"];
- [car setValue:@"Harold" forKey:@"name"];