-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPortraitScrollViewController.h
More file actions
executable file
·41 lines (33 loc) · 1.08 KB
/
PortraitScrollViewController.h
File metadata and controls
executable file
·41 lines (33 loc) · 1.08 KB
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
33
34
35
36
37
38
39
40
41
//
// PortraitScrollViewController.h
// MetWorkingLite
//
// Created by Bobby Ren on 10/30/12.
//
//
#import <UIKit/UIKit.h>
#import "UserInfo.h"
#import "AsyncImageView.h"
@protocol PortraitScrollDelegate <NSObject>
-(void)didTapPortraitWithUserInfo:(UserInfo*)tappedUserInfo;
@end
@interface PortraitScrollViewController : UIViewController <UIScrollViewDelegate, UIGestureRecognizerDelegate, AsyncImageDelegate>
{
BOOL pageControlBeingUsed;
int currentPage;
// UIImageView * chatIcon;
// UIImageView * connectIcon;
UIButton * chatIcon;
UIButton * connectIcon;
}
@property (nonatomic, strong) UIImage * photo;
@property (nonatomic, strong) NSMutableArray * pages;
@property (nonatomic) UIScrollView * scrollView;
@property (nonatomic, strong) UIPageControl * pageControl;
@property (nonatomic, weak) id delegate;
@property (nonatomic, strong) UserInfo * userInfo;
@property (nonatomic, strong) UIImage * lastLoadedPortrait;
@property (nonatomic, strong) AsyncImageView * photoBG;
-(void)addUserInfo:(UserInfo *)userInfo;
-(void)reloadWithUserInfo:(UserInfo*)userInfo;
@end