Instance Method

attributeForKey:

Returns the scene attribute for the specified key.

Declaration

- (id)attributeForKey:(NSString *)key;

Parameters

key

One of the constants described in Scene Attributes that identifies the attribute to be read.

Return Value

The scene attribute for the specified key, or nil if no such attribute exists.

See Also

Managing Scene Attributes

- setAttribute:forKey:

Sets a scene attribute for the specified key.