Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

Next Page > Hide TOC

Introduction to Key-Value Coding Programming Guide

Contents:

Organization of This Document
See Also


Key-value coding provides a mechanism for accessing an object’s properties indirectly.

The techniques for using key-value coding differ slightly between Objective-C and Java. Key-value coding in Objective-C is largely managed by the NSKeyValueCoding informal protocol, which is implemented by the NSObject class. Only two methods from this protocol are available in Java. Instead, in Java most key-value coding is implemented in the NSKeyValue class.

You should read this document to gain an understanding of how to use key-value coding in your applications. Key-value coding is a key technology when working with Cocoa bindings and Core Data. You are expected to be familiar with the basics of Cocoa development, including the Objective-C language and memory management.

Organization of This Document

Key-Value Coding includes these articles:

See Also

There are other technologies, not covered in this document, that are related to key-value coding.



Next Page > Hide TOC


Last updated: 2007-06-06




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice