-
Notifications
You must be signed in to change notification settings - Fork 0
/
BrandHomeViewController.h
95 lines (74 loc) · 2.63 KB
/
BrandHomeViewController.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
//
// BrandHomeViewController.h
// ImIn
//
// Created by KYONGJIN SEO on 10/4/11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
@class PostList;
@class MemberInfo;
@class HomeInfo;
@class HomeInfoDetail;
@class MainThreadCell;
@class EventList;
/**
@brief 브랜드 홈 뷰 컨트롤러
*/
@interface BrandHomeViewController : UIViewController <ImInProtocolDelegate, UITableViewDelegate, UITableViewDataSource> {
IBOutlet UIImageView *barImageView;
IBOutlet UIButton *preBtn;
UIButton *friendBtn;
IBOutlet UIButton *checkInBtn;
IBOutlet UIImageView *brandImageVIew;
IBOutlet UILabel *titleLabel;
IBOutlet UIButton *wholeBtn;
IBOutlet UIButton *brandBtn;
IBOutlet UIButton *bannerBtn;
IBOutlet UITableView *footPrintsTableView;
HomeInfo *homeInfo;
EventList* eventList;
PostList *postList;
MemberInfo *owner;
NSMutableArray *brandDataList;
NSMutableArray *wholeDataList;
NSArray* eventDataArray;
NSInteger friendCodeInt;
NSString* tableCoverNoticeMessage; ///< 오류 메시지
BOOL existResultForWholeView;
BOOL needToUpdate; ///< 갱신할 필요가 있는지 체크
BOOL existRecentBrandCheckIn;
BOOL isNeighborList;
BOOL isToMeNeighbor;
NSString *curPosition;
NSUInteger tabIndex;
BOOL isBackward;
BOOL isTop;
BOOL isEnd;
}
@property (nonatomic, retain) IBOutlet UIButton *friendBtn;
@property (nonatomic, retain) HomeInfo *homeInfo;
@property (nonatomic, retain) PostList *postList;
@property (nonatomic, retain) EventList* eventList;
@property (nonatomic, retain) MemberInfo *owner;
@property (nonatomic, retain) NSMutableArray *brandDataList;
@property (nonatomic, retain) NSMutableArray *wholeDataList;
@property (nonatomic, retain) NSString *tableCoverNoticeMessage;
@property (nonatomic, retain) NSArray* eventDataArray;
@property (readwrite) BOOL isNeighborList;
@property (readwrite) BOOL isToMeNeighbor;
@property (nonatomic, retain) NSString *curPosition;
@property (nonatomic, retain) IBOutlet UITableView *footPrintsTableView;
- (void)setFootPrintsTab:(BOOL)isRecent;
- (void) checkRecentBrandCheckInData; //일주일 이내 브랜드 발도장 체크
- (void) requestHomeInfo;
- (void) requestBrandFootPoiList;
- (void) requestWholeFootPoiList;
- (void) requestWholeFootPoiListOld;
- (void) requestBrandFootPoiListOld;
- (void) requestWholeFootPoiListNew;
- (void) requestBrandFootPoiListNew;
- (void) processPostList:(NSDictionary*) result;
- (void) processHomeInfo:(NSDictionary*) result;
- (void) processPoiInfo:(NSDictionary*) result;
@end