MBPSubviewDelegate
Objective-C
@protocol MBPSubviewDelegate <NSObject>
Swift
protocol MBPSubviewDelegate : NSObjectProtocol
Protocol which all objects interested in receiving information about overlay subviews need to implement
-
Delegate method called when animation starts
Declaration
Objective-C
- (void)subviewAnimationDidStart:(nonnull MBPSubview *)subview;
Swift
func subviewAnimationDidStart(_ subview: MBPSubview)
-
Delegate method called when animation finishes
Declaration
Objective-C
- (void)subviewAnimationDidFinish:(nonnull MBPSubview *)subview;
Swift
func subviewAnimationDidFinish(_ subview: MBPSubview)