Declaration

class GSBaseObject

Declaration

@interface GSBaseObject : NSObject

Declaration

class GSBaseObject(NSObject)

Overview

GSBaseObject provides common ownership, geometry, metadata, change notification, and encoding behavior. Not every inherited operation has the same significance for every subclass; consult the concrete type for its specific contract.

A base object has a weak parent, meaning the object that directly contains it. Its layer and glyph are resolved through this ownership hierarchy and can be nil when the object is detached. Attach and detach objects through the collection APIs of their container to keep both sides of the relationship consistent.

Regular editing APIs can register undo and propagate changes through the parent hierarchy, while fast APIs omit that coordination for callers that manage it separately.

Topics

Owners

  • The object that directly contains the receiver, or nil when the receiver is detached.

  • The layer containing the receiver, or nil when the receiver is detached from a layer.

  • The glyph containing the receiver, or nil when the receiver is detached from a glyph.

Position

Bounds

Attributes

Edit Locking

Temporary Data

Change Tracking

Encoding

Thread Synchronization

Relationships

Inherits From

  • NSObject

Inherited By

Conforms To

Relationships

Inherits From

  • NSObject

Inherited By

Conforms To