-
Notifications
You must be signed in to change notification settings - Fork 0
/
MyProfileViewController.h
52 lines (45 loc) · 1.7 KB
/
MyProfileViewController.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
//
// MyProfileViewController.h
// Kickoff South Bend
//
// Created by Christian Poellabauer on 6/26/13.
// Copyright (c) 2013 Christian Poellabauer. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <Parse/Parse.h>
#import <MobileCoreServices/MobileCoreServices.h>
#import "ProfileData.h"
#import "FDTakeController.h"
@interface MyProfileViewController : UIViewController <UIImagePickerControllerDelegate, UITextFieldDelegate> {
IBOutlet UITextField *firstName;
IBOutlet UITextField *lastName;
IBOutlet UITextField *email;
IBOutlet UITextField *affiliation;
IBOutlet UITextField *gradYear;
IBOutlet UISwitch *ndGrad;
IBOutlet UISwitch *ndStudent;
IBOutlet UILabel *addPhotoLabel;
IBOutlet UITextField *passwordField;
PFObject *myPFObject;
UIImagePickerController *picker;
UIImage *profileImage;
ProfileData *userProfileData;
float offset;
}
@property(nonatomic,retain) IBOutlet UITextField *firstName;
@property(nonatomic,retain) IBOutlet UITextField *lastName;
@property(nonatomic,retain) IBOutlet UITextField *email;
@property(nonatomic,retain) IBOutlet UITextField *affiliation;
@property(nonatomic,retain) IBOutlet UITextField *gradYear;
@property(nonatomic,retain) IBOutlet UITextField *passwordField;
@property(nonatomic,retain) IBOutlet UIButton *imageButton;
@property(nonatomic,retain) IBOutlet UISwitch *ndGrad;
@property(nonatomic,retain) IBOutlet UISwitch *ndStudent;
@property(nonatomic,retain) PFObject *myPFObject;
@property(nonatomic,retain) UIImage *profileImage;
@property(nonatomic,retain) UILabel *addPhotoLabel;
@property FDTakeController *takeController;
-(IBAction)saveProfile:(id)sender;
-(IBAction)chooseImage:(id)sender;
-(void)cancel;
@end