NSDictionaryControllerKeyValuePair Protocol Reference

Framework
/System/Library/Frameworks/AppKit.framework
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
  • Available in OS X v10.5 and later.
Declared In
NSDictionaryController.h

key

Returns the receiver’s key name.

- (NSString *)key
Return Value

The key name.

Availability
  • Available in OS X v10.5 and later.
See Also
Declared In
NSDictionaryController.h

localizedKey

Returns the receiver’s localized key name.

- (NSString *)localizedKey
Return Value

The localized key name.

Availability
  • Available in OS X v10.5 and later.
Declared In
NSDictionaryController.h

setKey:

Sets the key name for the receiver.

- (void)setKey:(NSString *)key
Parameters
key

The key name.

Availability
  • Available in OS X v10.5 and later.
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
  • Available in OS X v10.5 and later.
Declared In
NSDictionaryController.h

setValue:

Sets the receiver’s value.

- (void)setValue:(id)value
Parameters
value

An object.

Availability
  • Available in OS X v10.5 and later.
See Also
Declared In
NSDictionaryController.h

value

Returns the receiver’s value.

- (id)value
Return Value

The receiver’s value object.

Availability
  • Available in OS X v10.5 and later.
Declared In
NSDictionaryController.h