Contents

SBElementArray

SBElementArray is subclass of NSMutableArray that manages collections of related Sbobject objects. For example, when you ask the Finder for a list of disks, or ask iTunes for a list of playlists, you get the result back as an SBElementArray containing Scripting Bridge objects representing those items.

Declaration

class SBElementArray

Overview

SBElementArray defines methods beyond those of NSArray for obtaining individual objects. In addition to object(at:), SBElementArray also defines object(withName:), object(withID:), and object(atLocation:).

Subclassing Notes

The SBElementArray class is not designed for subclassing.

Topics

Getting Objects in the Array

Getting the Referenced Array

Filtering an Element Array