HistoryViewController.h 1.5 KB
//
//  HistoryViewController.h
//  LifeLog
//
//  Created by Nguyen Van Phong on 7/25/17.
//  Copyright © 2017 PhongNV. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Charts/Charts-Swift.h>

#import "BaseTableViewController.h"
#import "CollectionView.h"

#import "Entities.h"

@interface HistoryViewController : BaseTableViewController <UIScrollViewDelegate> {
    NSDate *                _startDate;
    NSDate *                _endDate;
    NSArray *               _curHisArray;
}
@property (weak, nonatomic) IBOutlet UILabel *lblDatetime;

@property (weak, nonatomic) IBOutlet UILabel *lblCircleStep;
@property (weak, nonatomic) IBOutlet UILabel *lblCircleRemain;

@property (weak, nonatomic) IBOutlet UILabel *lblStep;
@property (weak, nonatomic) IBOutlet UILabel *lblRemaining;
@property (weak, nonatomic) IBOutlet UILabel *lblPercent;
@property (weak, nonatomic) IBOutlet UILabel *lblCalories;
@property (weak, nonatomic) IBOutlet UILabel *lblDistance;
@property (weak, nonatomic) IBOutlet UILabel *lblTime;

@property (weak, nonatomic) IBOutlet CollectionView *viewCollectionType;
@property (weak, nonatomic) IBOutlet CollectionView *viewCollectionMode;
@property (weak, nonatomic) IBOutlet CollectionView *viewCollectionShare;

@property (weak, nonatomic) IBOutlet BarChartView   *viewBarChart;

@property (weak, nonatomic) IBOutlet UIScrollView *scrollView;

- (IBAction)swipeAction:(UISwipeGestureRecognizer *)sender;
- (IBAction)clickBackward:(UIButton *)sender;
- (IBAction)clickForward:(UIButton *)sender;

@end