A method identified as deprecated has been superseded and may become unsupported in the future.
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
The identifying key for a property of the receiver.
YES
if the property specified by key exists in the receiver or in the NSScriptClassDescription
for any superclass, and is read only; otherwise, NO
.
This method could return NO
either because key
is unrecognized or because writing to the property is not supported. Use hasWritablePropertyForKey:
instead.
NSScriptClassDescription.h
© 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-07-17)