-
Notifications
You must be signed in to change notification settings - Fork 8
/
EAIntroPage.h
executable file
·32 lines (27 loc) · 1.02 KB
/
EAIntroPage.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//
// EAIntroPage.h
// EAIntroView
//
// Copyright (c) 2013 Evgeny Aleksandrov.
//
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
@interface EAIntroPage : NSObject
// title image Y position - from top of the screen
// title and description labels Y position - from bottom of the screen
@property (strong, nonatomic) 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