-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFormularioContatoViewController.h
More file actions
36 lines (30 loc) · 1.3 KB
/
FormularioContatoViewController.h
File metadata and controls
36 lines (30 loc) · 1.3 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
//
// FormularioContatoViewController.h
// CaelumIP67
//
// Created by Caio Incau on 30/07/12.
// Copyright (c) 2012 Caio Incau. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "Contato.h"
#import "ListaContatosProtocol.h"
@interface FormularioContatoViewController : UIViewController<UINavigationControllerDelegate,UIImagePickerControllerDelegate,UIActionSheetDelegate,UITextFieldDelegate>
@property(nonatomic,strong) NSMutableArray *contatos;
@property(strong) Contato *contato;
@property(nonatomic,weak) IBOutlet UITextField *campoNome;
@property(nonatomic,weak) IBOutlet UITextField *campoTelefone;
@property(nonatomic,weak) IBOutlet UITextField *campoEmail;
@property(nonatomic,weak) IBOutlet UITextField *campoEndereco;
@property(nonatomic,weak) IBOutlet UITextField *campoSite;
@property(nonatomic,weak) IBOutlet UITextField *campoTwitter;
@property(nonatomic,weak) IBOutlet UITextField *campoLatitude;
@property(nonatomic,weak) IBOutlet UITextField *campoLongitude;
@property(nonatomic,weak) IBOutlet UIButton *botaoFoto;
@property UITextField *campoAtual;
@property id<ListaContatosProtocol> delegate;
-(Contato *)pegaDadosDoFormulario;
-(id)initWithContato:(Contato *)contato;
-(IBAction)escondeTeclado:(UITextView *)sender;
-(IBAction)selecionaFoto:(id)sender;
-(IBAction)buscarCordenadas:(id)sender;
@end