SOSUILineDrawingReceivable

@protocol SOSUILineDrawingReceivable

The SOSUILineDrawingReceivable protocol allows your view controller implementation to handle line drawings.

  • Asks the delegate whether it can handle line drawings.

    Declaration

    Objective-C

    - (BOOL)willHandleLineDrawing;

    Swift

    func willHandleLineDrawing() -> Bool

    Return Value

    YES if the class can handle line drawings.

  • Tells the delegate when a line is drawn on the screen.

    Declaration

    Objective-C

    - (void)didReceiveLineDrawView:(UIView *_Nonnull)drawView;

    Swift

    optional func didReceiveLineDraw(_ drawView: UIView)

    Parameters

    drawView

    The view containing the drawing.