Sha256: 2f83b1f63f4c1d6c55bf4e914f26e18f78225b5d8ddc1d7f623f8d5c5cf49f4f

Contents?: true

Size: 1.05 KB

Versions: 4

Compression:

Stored size: 1.05 KB

Contents

//
//  UserForm.h
//  PureMVC_ObjectiveC
//
//  PureMVC Port to ObjectiveC by Brian Knorr <brian.knorr@puremvc.org>
//  PureMVC - Copyright(c) 2006-2008 Futurescale, Inc., Some rights reserved.
//

#import <UIKit/UIKit.h>
#import "UserVO.h"

@protocol UserFormViewControllerDelegate

-(void)createUserSelected:(UserVO *)userVO;
-(void)updateUserSelected:(UserVO *)userVO;

@end

typedef enum {
	NEW, EDIT
} Mode;

@interface UserForm : UITableViewController {
	UserVO *userVO;
	UITextField *firstNameTextField, *lastNameTextField, *emailTextField, *usernameTextField, *passwordTextField, *confirmPasswordTextField;
	Mode mode;
	id<UserFormViewControllerDelegate> delegate;
}

@property(nonatomic, retain) UserVO *userVO;
@property(nonatomic, retain) UITextField *firstNameTextField, *lastNameTextField, *emailTextField, *usernameTextField, *passwordTextField, *confirmPasswordTextField;
@property Mode mode;
@property(nonatomic, retain) id<UserFormViewControllerDelegate> delegate;

-(UITextField *)textFieldWithPlaceHolder:(NSString *)placeHolder frame:(CGRect)frame;

@end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
appjam-0.1.0.pre11 lib/appjam/generators/project/Classes/contacts/view/components/UserForm.h.tt
appjam-0.1.0.pre9 lib/appjam/generators/project/Classes/contacts/view/components/UserForm.h.tt
appjam-0.1.0.pre6 lib/appjam/generators/project/Classes/users/view/components/UserForm.h.tt
appjam-0.1.0.pre4 lib/appjam/generators/Classes/users/view/components/UserForm.h.tt