Visual
@interface Visual : Observable <Interactable>
This is a superclass for visual representations of a Ripe instance.
-
A map with options to configure the instance.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSDictionary *_Nonnull options;
Swift
var options: [AnyHashable : Any] { get set }
-
Base constructor for Visual instances.
Declaration
Objective-C
- (nonnull id)initWithOwner:(nonnull Ripe *)owner options:(nonnull NSDictionary *)options;
Swift
init(owner: Ripe, options: [AnyHashable : Any] = [:])
Parameters
owner
The Ripe instance to be represented.
options
A map with options to configure the instance.
Return Value
The Visual instance created.