SBSDKBoxedObject

@protocol SBSDKBoxedObject <NSObject>

A protocol for drawing boxes with SBSDKBoxesLayer. Any class that has a drawable rectangular component and should be drawn into a SBSDKBoxesLayer must implement this protocol.

  • The objects drawable (bounding) rectangle in view/layer space.

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGRect boundingRect;

    Swift

    var boundingRect: Rect { get }