NeXT TypedStream Data | 1994-07-31 | 4.4 KB | 81 lines
streamtyped
IBObjectData
Object
CustomObject
Application
ButtonCell
ActionCell
Object A
Tekton
NXImage
image1
Matrix
Control
Responder
TextField
TextFieldCell
The RealMutableArray example demonstrates how to subclass
a Class Cluster in the Foundation kit. The RealMutableArray has an NSMutableArray composite object and the BetterReal MutableArray is a true subclass defining its own storage. Both subclasses add the ability to have empty cells in between full ones (ie. a sparse array).
Helvetica
@:@iiii
ff@@#::s
Array
Insert
Delete
Empty
Button
empty
Title
Object Z
image2
Object 1
MenuCell
Real Mutable Array
Info...
Hints
MenuTemplate
*@*@ccc
Class Clusters
Paste
Select All
submenuAction:
NXmenuArrow
Times-Roman*
Foundation Beta Example
object_dude
W(c) Copyright 1994 SHL Systemhouse, Inc.
Object Technology Center.
All Rights Reserved.
by CORe
AppController
Select an object and a position in the array (click inside box) and insert. Any object that is in that space will be removed and the new one will take that position in the array.
If any object is selected, delete removes it from the array.
Empty is removes all objects from the array (note that it is a derived method from the class primitives -- it was not implemented explicity by RealMutableArray.