-
Notifications
You must be signed in to change notification settings - Fork 0
/
BadgeViewController.h
61 lines (49 loc) · 1.59 KB
/
BadgeViewController.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
//
// BadgeViewController.h
// ImIn
//
// Created by Myungjin Choi on 11. 2. 18..
// Copyright 2011 KTH. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "ImInProtocol.h"
#import "NotiManager.h"
@class LastBadgeList, BadgeList;
/**
@brief 전체 뱃지 리스트 보여주기
*/
@interface BadgeViewController : UIViewController <UITableViewDelegate, UITableViewDataSource, ImInProtocolDelegate, IminNotificationDelegate> {
IBOutlet UITableView* badgeTableView;
IBOutlet UILabel* titleLabel;
IBOutlet UIView* sectionHeaderViewForLastestBadge;
IBOutlet UIView* sectionHeaderViewForTotalBadge;
IBOutlet UILabel* numberOfBadgeOwned;
IBOutlet UILabel* myBadgeProgress;
IBOutlet UIButton* viewModeButton;
// ImIn Protocol
LastBadgeList* lastBadgeList;
BadgeList* badgeList;
// 데이터
NSArray* badgeArray; ///< 앨범형 자료
NSArray* lastBadgeArray;
NSArray* badgeListArray; ///< 리스트형 자료
MemberInfo* owner;
// Cell reuse buffer
NSMutableDictionary* setBadgeCellList;
BOOL isAlbumView;
int apiDidLoadCnt;
NotiManager *manager;
}
@property (nonatomic, retain) NSArray* badgeArray;
@property (nonatomic, retain) NSArray* badgeListArray;
@property (nonatomic, retain) NSArray* lastBadgeArray;
@property (nonatomic, retain) MemberInfo* owner;
@property (nonatomic, retain) LastBadgeList* lastBadgeList;
@property (nonatomic, retain) BadgeList* badgeList;
@property (nonatomic, retain) NotiManager *manager;
- (IBAction) closeVC;
- (IBAction) toggleViewType:(UIButton*) sender;
- (void) requestBadgeList;
- (void) requestLastBadgeList;
- (void) requestNotiList;
@end