Introduction to User Interface Validation

Explains how to use the standard mechanism to validate user interface items in Cocoa.

Organization of This Document

Implementing Validation describes how to use the NSUserInterfaceValidations and NSValidatedUserInterfaceItem protocols to validate user interface items.

Implementing a Validated Item describes you can implement an item that uses the validation protocol to determine its state, and how to extend the NSUserInterfaceValidations protocol to provide custom user interface item validation.

Next

Copyright © 2007 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2007-07-10