Up

# NSKeyValueBinding informal protocol reference

### Authors

Fred Kiefer (`fredkiefer@gmx.de`)
Chris Farber (`chris@chrisfarber.net`)

> Interface declaration for key value binding

Copyright: (C) (C) 2006 Free Software Foundation, Inc.

### Contents -

1. Software documentation for the NSObject(NSEditor) informal protocol
2. Software documentation for the NSObject(NSEditorRegistration) informal protocol
3. Software documentation for the NSObject(NSKeyValueBindingCreation) category
4. Software documentation for the NSObject(NSPlaceholder) informal protocol

# Software documentation for the NSObject(NSEditor) informal protocol

## NSObject(NSEditor)

> Declared in:
>   AppKit/NSKeyValueBinding.h

Availability: MacOS-X 10.3.0
Description forthcoming.
Method summary

- -commitEditing
- -commitEditingWithDelegate:didCommitSelector:contextInfo:
- -discardEditing

### commitEditing

- (BOOL) commitEditing;
Availability: MacOS-X 10.3.0
Description forthcoming.

### commitEditingWithDelegate: didCommitSelector: contextInfo:

- (void) commitEditingWithDelegate: (id)delegate didCommitSelector: (SEL)didCommitSelector contextInfo: (void*)contextInfo;
Availability: MacOS-X 10.4.0
Description forthcoming.

### discardEditing

- (void) discardEditing;
Availability: MacOS-X 10.3.0
Description forthcoming.

# Software documentation for the NSObject(NSEditorRegistration) informal protocol

## NSObject(NSEditorRegistration)

> Declared in:
>   AppKit/NSKeyValueBinding.h

Availability: MacOS-X 10.3.0
Description forthcoming.
Method summary

- -objectDidBeginEditing:
- -objectDidEndEditing:

### objectDidBeginEditing:

- (void) objectDidBeginEditing: (id)editor;
Availability: MacOS-X 10.3.0
Description forthcoming.

### objectDidEndEditing:

- (void) objectDidEndEditing: (id)editor;
Availability: MacOS-X 10.3.0
Description forthcoming.

# Software documentation for the NSObject(NSKeyValueBindingCreation) category

## NSObject(NSKeyValueBindingCreation)

> Declared in:
>   AppKit/NSKeyValueBinding.h

Availability: MacOS-X 10.3.0
Description forthcoming.
Method summary

- +exposeBinding:
- -bind:toObject:withKeyPath:options:
- -exposedBindings
- -infoForBinding:
- -unbind:
- -valueClassForBinding:

### exposeBinding:

+ (void) exposeBinding: (NSString*)binding;
Availability: MacOS-X 10.3.0
Description forthcoming.

### bind: toObject: withKeyPath: options:

- (void) bind: (NSString*)binding toObject: (id)anObject withKeyPath: (NSString*)keyPath options: (NSDictionary*)options;
Availability: MacOS-X 10.3.0
Description forthcoming.

### exposedBindings

- (NSArray*) exposedBindings;
Availability: MacOS-X 10.3.0
Description forthcoming.

### infoForBinding:

- (NSDictionary*) infoForBinding: (NSString*)binding;
Availability: MacOS-X 10.4.0
Description forthcoming.

### unbind:

- (void) unbind: (NSString*)binding;
Availability: MacOS-X 10.3.0
Description forthcoming.

### valueClassForBinding:

- (Class) valueClassForBinding: (NSString*)binding;
Availability: MacOS-X 10.3.0
Description forthcoming.

# Software documentation for the NSObject(NSPlaceholder) informal protocol

## NSObject(NSPlaceholder)

> Declared in:
>   AppKit/NSKeyValueBinding.h

Availability: MacOS-X 10.3.0
Description forthcoming.
Method summary

- +defaultPlaceholderForMarker:withBinding:
- +setDefaultPlaceholder:forMarker:withBinding:

### defaultPlaceholderForMarker: withBinding:

+ (id) defaultPlaceholderForMarker: (id)marker withBinding: (NSString*)binding;
Availability: MacOS-X 10.3.0
Description forthcoming.

### setDefaultPlaceholder: forMarker: withBinding:

+ (void) setDefaultPlaceholder: (id)placeholder forMarker: (id)marker withBinding: (NSString*)binding;
Availability: MacOS-X 10.3.0
Description forthcoming.

Up