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

NSIndexSpecifier — Mac OS X 10.0

Synopsis

This class represents the scripting language reference form used to specify an object in a collection according to its indexed position in the collection.

image with no caption

@interface NSIndexSpecifier : NSScriptObjectSpecifier
                                  // Initializers
   - (id)initWithContainerClassDescription:(NSScriptClassDescription *)classDesc
                                 containerSpecifier:(NSScriptObjectSpecifier *)container 
                                 key:(NSString *)property 
                                 index:(int)index;
                                  // Accessor Methods
   - (void)setIndex:(int)index;
   - (int)index;

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