iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x

ISCIViewContainer

@protocol ISCIViewContainer <ISCIView, ISCICleanable>

Defines interface with methods which allows to add/remove views from this container.

  • Adds view into this view container.

    Declaration

    Objective-C

    - (void)safeAdd:(nonnull UIView *)view;

    Swift

    func safeAdd(_ view: UIView)

    Parameters

    view

    The view to add.

  • Removes view from this view container.

    Declaration

    Objective-C

    - (void)safeRemove:(nonnull UIView *)view;

    Swift

    func safeRemove(_ view: UIView)

    Parameters

    view

    The view to remove.