首页 > 其他 > 详细

引导页总结

时间:2014-09-29 20:22:32      阅读:257      评论:0      收藏:0      [点我收藏+]

Page类

继承于NSObject,保存每个page的信息,如各种图片、文字、标题内容等。

@interface EAIntroPage : NSObject

// title image Y position - from top of the screen
// title and description labels Y position - from bottom of the screen
@property (nonatomic, retain) UIImage *bgImage;
@property (nonatomic, retain) UIImage *titleImage;
@property (nonatomic, assign) CGFloat imgPositionY;
@property (nonatomic, retain) NSString *title;
@property (nonatomic, retain) UIFont *titleFont;
@property (nonatomic, retain) UIColor *titleColor;
@property (nonatomic, assign) CGFloat titlePositionY;
@property (nonatomic, retain) NSString *desc;
@property (nonatomic, retain) UIFont *descFont;
@property (nonatomic, retain) UIColor *descColor;
@property (nonatomic, assign) CGFloat descPositionY;

// if customView is set - all other properties are ignored
@property (nonatomic, retain) UIView *customView;

+ (EAIntroPage *)page;
+ (EAIntroPage *)pageWithCustomView:(UIView *)customV;

@end

 

View类的subViews

1.UIImageView *bgImageView

背景图片

2.UIImageView *pageBgBack

 

3.UIImageView *pageBgFront

 

4.UIScrollView *scrollView  NSMutableArray *pageViews

 

5.UIView *titleView;
 

 

引导页总结

原文:http://www.cnblogs.com/zhongriqianqian/p/4000852.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!