2 // SyncViewController.h
5 // Created by john on 10/22/12.
8 #import <UIKit/UIKit.h>
9 #import <PeerListCell.h>
10 #import "CircleStatusView.h"
12 @interface SyncViewController
: UIViewController
<UITableViewDataSource
> {
13 int notificationToken
;
14 int notificationCount
;
16 @
property (weak
, nonatomic
) IBOutlet UILabel
*statusMessage
;
17 @
property (weak
, nonatomic
) IBOutlet UISwitch
*syncingEnabled
;
18 @
property (weak
, nonatomic
) IBOutlet UIProgressView
*circleProgress
;
19 @
property (weak
, nonatomic
) IBOutlet UILabel
*circleStatus
;
20 @
property (weak
, nonatomic
) IBOutlet UILabel
*updateCount
;
21 @
property (weak
, nonatomic
) IBOutlet UILabel
*peerCount
;
22 @
property (weak
, nonatomic
) IBOutlet UILabel
*applicantCount
;
23 @
property (weak
, nonatomic
) IBOutlet UITableView
*peerList
;
24 @
property (weak
, nonatomic
) IBOutlet UITableView
*applicantList
;
25 @
property (weak
, nonatomic
) IBOutlet UILabel
*stateChanged
;
26 @
property (weak
, nonatomic
) IBOutlet UIButton
*acceptButton
;
27 @
property (weak
, nonatomic
) IBOutlet CircleStatusView
*stateChangedC
;
29 - (void)flashChangeLight
;
30 - (void)setStatus
:(NSString
*)message
;
31 - (void)updateSyncingEnabledSwitch
;
32 + (void)requestToJoinCircle
;