MaplyComponentObject

Objective-C

@interface MaplyComponentObject : NSObject

Swift

class MaplyComponentObject : NSObject

Used to represent the view controller resources attached to one or more visual objects.

When you add one or more objects to a view controller, you’ll get a component object back. It’s an opaque object (seriously, don’t look inside) that we use to track various resources within the toolkit.

You can keep these around to remove the visual objects you added earlier, but that’s about all the interaction you’ll have with them.

  • Construct with a description. Uses the kMaplyEnable.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDesc:(NSDictionary *_Nonnull)desc;

    Swift

    init(desc: [AnyHashable : Any])