码迷,mamicode.com
首页 > 其他好文 > 详细

引导页总结

时间:2014-09-29 20:58:01      阅读:192      评论:0      收藏:0      [点我收藏+]

标签:des   blog   color   io   os   ar   sp   div   c   

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;
 

 

引导页总结

标签:des   blog   color   io   os   ar   sp   div   c   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!