This repository has been archived by the owner on Aug 12, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProfileVC.h
50 lines (42 loc) · 1.95 KB
/
ProfileVC.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
//
// ProfileVC.h
// CancerLife
//
// Created by Constantin Lungu on 9/25/13.
// Copyright (c) 2013 FusionWorks. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "MBProgressHUD.h"
typedef enum {
ProfileSegmentedControlProfile = 0,
ProfileSegmentedControlPhoto = 1
} ProfileSegmentedControlOptions;
@interface ProfileVC : UIViewController <UIActionSheetDelegate, UIImagePickerControllerDelegate, UINavigationControllerDelegate, UITextFieldDelegate, MBProgressHUDDelegate>
@property (strong, nonatomic) IBOutlet UIScrollView *scrollView;
@property (strong, nonatomic) IBOutlet UISegmentedControl *profileSegmentedControl;
// PHOTO
@property (strong, nonatomic) IBOutlet UIView *photoView;
@property (strong, nonatomic) IBOutlet UIImageView *privatePhotoImageView;
@property (strong, nonatomic) IBOutlet UIButton *deletePrivatePhotoButton;
@property (strong, nonatomic) IBOutlet UIImageView *publicPhotoImageView;
@property (strong, nonatomic) IBOutlet UIButton *deletePublicPhotoButton;
// PROFILE
@property (strong, nonatomic) IBOutlet UIView *profileView;
@property (strong, nonatomic) IBOutlet UITextField *firstNameField;
@property (strong, nonatomic) IBOutlet UITextField *lastNameField;
@property (strong, nonatomic) IBOutlet UITextField *homePhoneField;
@property (strong, nonatomic) IBOutlet UITextField *cellularPhoneField;
@property (strong, nonatomic) IBOutlet UITextField *addressField;
@property (strong, nonatomic) IBOutlet UITextField *cityField;
@property (strong, nonatomic) IBOutlet UITextField *stateField;
@property (strong, nonatomic) IBOutlet UITextField *countryField;
@property (strong, nonatomic) IBOutlet UITextField *languageField;
@property (strong, nonatomic) IBOutlet UITextField *timeZoneField;
@property (strong, nonatomic) IBOutlet UIButton *updateProfileButton;
- (IBAction)segmentedControlValueChanged;
// PHOTO
- (IBAction)deletePrivatePhotoPressed;
- (IBAction)deletePublicPhotoPressed;
// PROFILE
- (IBAction)updateProfilePressed;
@end