Next Page > Hide TOC

NSDictionaryControllerKeyValuePair Protocol Reference

Framework
/System/Library/Frameworks/AppKit.framework
Availability
Available in Mac OS X v10.5 and later.
Companion guide
Declared in
NSDictionaryController.h

Overview

NSDictionaryControllerKeyValuePair is an informal protocol that is implemented by objects returned by the NSDictionaryController method arrangedObjects. See NSDictionaryController Class Reference for more information.

Tasks

Localizing the Display Key

Key-Value Pair Settings

Instance Methods

isExplicitlyIncluded

Specifies whether the receiver’s key name is an included key.

- (BOOL)isExplicitlyIncluded

Return Value

YES if the key name is specified as an included key, otherwise NO.

Availability
Declared In
NSDictionaryController.h

key

Returns the receiver’s key name.

- (NSString *)key

Return Value

The key name.

Availability
See Also
Related Sample Code
Declared In
NSDictionaryController.h

localizedKey

Returns the receiver’s localized key name.

- (NSString *)localizedKey

Return Value

The localized key name.

Availability
See Also
Declared In
NSDictionaryController.h

setKey:

Sets the key name for the receiver.

- (void)setKey:(NSString *)key

Parameters
key

The key name.

Availability
See Also
Declared In
NSDictionaryController.h

setLocalizedKey:

Sets the localized key name for the receiver.

- (void)setLocalizedKey:(NSString *)localizedKey

Parameters
localizedKey

The localized name of the receivers key.

Availability
See Also
Declared In
NSDictionaryController.h

setValue:

Sets the receiver’s value.

- (void)setValue:(id)value

Parameters
value

An object.

Availability
See Also
Declared In
NSDictionaryController.h

value

Returns the receiver’s value.

- (id)value

Return Value

The receiver’s value object.

Availability
See Also
Related Sample Code
Declared In
NSDictionaryController.h

Next Page > Hide TOC


© 2008 Apple Inc. All Rights Reserved. (Last updated: 2008-06-05)


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.