< Previous PageNext Page > Hide TOC

Deprecated NSScriptClassDescription Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in Mac OS X v10.5

isReadOnlyKey:

Returns a Boolean value indicating whether a specified property in the receiver is read-only. (Deprecated in Mac OS X v10.5. Use hasWritablePropertyForKey: instead.)

- (BOOL)isReadOnlyKey:(NSString *)key

Parameters
key

The identifying key for a property of the receiver.

Return Value

YES if the property specified by key exists in the receiver or in the NSScriptClassDescription for any superclass, and is read only; otherwise, NO.

Special Considerations

This method could return NO either because key is unrecognized or because writing to the property is not supported. Use hasWritablePropertyForKey: instead.

Availability
See Also
Declared In
NSScriptClassDescription.h

< Previous PageNext Page > Hide TOC


© 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-07-17)


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.