MBCSubviewDelegate
Objective-C
@protocol MBCSubviewDelegate <NSObject>
Swift
protocol MBCSubviewDelegate : 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 MBCSubview *)subview;
Swift
func subviewAnimationDidStart(_ subview: MBCSubview)
-
Delegate method called when animation finishes
Declaration
Objective-C
- (void)subviewAnimationDidFinish:(nonnull MBCSubview *)subview;
Swift
func subviewAnimationDidFinish(_ subview: MBCSubview)