SBElement
is subclass of NSMutable
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 SBElement
containing Scripting Bridge objects representing those items.
SDK
- macOS 10.5+
Framework
- Scripting
Bridge
Declaration
class SBElementArray : NSMutable Array
Overview
SBElement
defines methods beyond those of NSArray
for obtaining individual objects. In addition to object(at:)
, SBElement
also defines object(with
, object(with
, and object(at
.
Subclassing Notes
The SBElement
class is not designed for subclassing.