Name

NSNameSpecifier — Mac OS X 10.2

Synopsis

This class represents the scripting language reference form used to specify an object in a collection according to the object’s name.

image with no caption

@interface NSNameSpecifier : NSScriptObjectSpecifier
                                  // Initializers
   - (id)initWithContainerClassDescription:(NSScriptClassDescription *)classDesc
                                 containerSpecifier:(NSScriptObjectSpecifier *)container 
                                 key:(NSString *)property 
                                 name:(NSString *)name;
                                  // Accessor Methods
   - (void)setName:(NSString *)name;
   - (NSString *)name;

Get Cocoa in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.