//
//  CreateGroupViewController.h
//  LifeLog
//
//  Created by nvtu on 8/19/17.
//  Copyright © 2017 PhongNV. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BaseViewController.h"
#import "AutoTransButton.h"
#import "Utilities.h"
#import "Entities.h"

@interface CreateGroupViewController : BaseViewController<UITextFieldDelegate, UITextViewDelegate>

@property (weak, nonatomic) IBOutlet UIView *viewHeader;
@property (weak, nonatomic) IBOutlet UITextField *textName;
@property (weak, nonatomic) IBOutlet UITextField *textGoalWalk;
@property (weak, nonatomic) IBOutlet UITextField *textGoalRun;
@property (weak, nonatomic) IBOutlet UITextField *textGoalBike;

@property (weak, nonatomic) IBOutlet UITextView *textGoal;

@property (weak, nonatomic) IBOutlet UISwitch *switchWalk;
@property (weak, nonatomic) IBOutlet UISwitch *switchBike;
@property (weak, nonatomic) IBOutlet UISwitch *switchRun;
@property (weak, nonatomic) IBOutlet UISwitch *switchStep;
@property (weak, nonatomic) IBOutlet UISwitch *switchGym;
@property (weak, nonatomic) IBOutlet UISwitch *switchBegin;

@property (copy) void (^createGroupSuccess)(GroupObject * group);

- (IBAction)clickBack:(UIButton *)sender;
- (IBAction)clickCreateGroup:(AutoTransButton *)sender;

@end
