// // MyIntroductionViewController.h // Ifish // // Created by imac on 15/11/26. // Copyright © 2015年 imac. All rights reserved. // #import typedef NS_ENUM(NSInteger, LXIntroductionStyle) { LXIntroductionStyleAllPageGoButton = 0,//every page has go button LXIntroductionStyleLastPageGoButton,//last page has go button LXIntroductionStyleFullScreenGoButton //last page, full screen alpha = 0 }; @protocol LXIntrductionDelegate -(void)goButtonAction; @end @interface MyIntroductionViewController : UIViewController typedef void(^GoActionBack)(MyIntroductionViewController * intrVC); @property(nonatomic,strong)NSArray * titles;// page title @property(nonatomic,strong)NSArray * contents;// page content @property(nonatomic,strong)NSArray * imageNames;// bundle imageName @property(nonatomic,assign)LXIntroductionStyle introductionStyle;//default is LXIntroductionStyleAllPageGoButton @property(nonatomic)BOOL hiddenPageControl;//default is NO @property(nonatomic,assign) id delegate;//delegate @property(nonatomic,assign)NSInteger page;//page @property(nonatomic,strong)GoActionBack goActionCallBack; -(void)goButtonActionBlock:(void(^)(void))goButtonActionBlock;//block +(instancetype)showIntroductionWithTitles:(NSArray *)titles contents:(NSArray *)contents imageNames:(NSArray *)imageNames style:(LXIntroductionStyle)introductionStyle goButtonActionBlock:(GoActionBack)goButtonActionBlock;//fast show @end