O'Reilly logo

Cocoa in a Nutshell by James Duncan Davidson, Michael Beam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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;

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required