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

NSRelativeSpecifier — Mac OS X 10.0

Synopsis

This class represents the scripting language reference form used to specify the position of one object relative to another.

image with no caption

@interface NSRelativeSpecifier : NSScriptObjectSpecifier
                                  // Initializers
   - (id)initWithContainerClassDescription:(NSScriptClassDescription *)classDesc       
                                 containerSpecifier:(NSScriptObjectSpecifier *)container 
                                 key:(NSString *)property
                                 relativePosition:(NSRelativePosition)relPos 
                                 baseSpecifier:(NSScriptObjectSpecifier *)baseSpecifier;
                                  // Accessor Methods
   - (void)setRelativePosition:(NSRelativePosition)relPos;
   - (NSRelativePosition)relativePosition;
   - (void)setBaseSpecifier:(NSScriptObjectSpecifier *)baseSpecifier;
   - (NSScriptObjectSpecifier *)baseSpecifier;

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