//
//  MFPageContentView.h
//  KKCivilAd
//
//  Created by 雷俊博 on 2019/11/30.
//  Copyright © 2019 雷俊博. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@protocol MFPageContentViewDelegate <NSObject>

- (void)pageContentViewScroll:(CGFloat)progress originalIndex:(NSInteger)originalIndex targetIndex:(NSInteger)targetIndex;

@end

@interface MFPageContentView : UIView

@property (nonatomic, weak)id<MFPageContentViewDelegate>delegate;

- (instancetype)initWithFrame:(CGRect)frame parentVC:(UIViewController *)parentVC childVCs:(NSMutableArray *)childVCs;

- (void)setPageContentViewCurrentIndex:(NSInteger)currentIndex;

@end

NS_ASSUME_NONNULL_END
