-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCreateProfileInfoViewController.h
More file actions
executable file
·55 lines (45 loc) · 1.55 KB
/
CreateProfileInfoViewController.h
File metadata and controls
executable file
·55 lines (45 loc) · 1.55 KB
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
53
54
55
//
// CreateProfileInfoViewController.h
// Junction
//
// Created by Bobby Ren on 1/27/13.
//
//
#import <UIKit/UIKit.h>
#import "UserInfo.h"
#define ROW_HEIGHT 40
#define HEADER_HEIGHT 15
enum PROFILE_INPUT_FIELDS {
INPUT_NAME = 0,
INPUT_EMAIL = 1,
INPUT_LOOKINGFOR = 2,
INPUT_TALKABOUT = 3,
//INPUT_ROLE = 2,
//INPUT_COMPANY = 3,
//INPUT_INDUSTRY = 4,
INPUT_MAX
};
@protocol CreateProfileInfoDelegate <NSObject>
-(void)didSaveProfileInfo;
@end
@interface CreateProfileInfoViewController : UIViewController <UITableViewDataSource, UITableViewDelegate, UITextFieldDelegate, UINavigationControllerDelegate, UITextViewDelegate>
{
BOOL stopResponders;
}
@property (nonatomic) IBOutlet UITableView * tableView;
@property (nonatomic) IBOutlet UIScrollView * scrollView;
@property (nonatomic, strong) NSMutableArray * inputFields;
@property (nonatomic, strong) NSMutableArray * viewsForCell;
@property (nonatomic, strong) NSMutableArray * viewsForHeader;
@property (nonatomic, weak) UserInfo * userInfo;
@property (nonatomic, weak) id delegate;
@property (nonatomic, weak) IBOutlet UIButton * stepButton;
@property (nonatomic, strong) UILabel * privateLabel;
@property (nonatomic, strong) UISlider * privateSlider;
@property (nonatomic, strong) UILabel * lookingForCount;
@property (nonatomic, strong) UILabel * talkAboutCount;
@property (nonatomic, strong) NSString * lookingForLastText;
@property (nonatomic, strong) NSString * talkAboutLastText;
-(void)populateWithUserInfo:(UserInfo*)newUserInfo;
-(IBAction)didClickNext:(id)sender;
@end