forked from thermogl/TITokenField
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTIContact.h
39 lines (28 loc) · 889 Bytes
/
TIContact.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
//
// TITokenContact.h
// TokenFieldExample
//
// Created by Lin Junjie on 13/11/12.
//
//
#import <Foundation/Foundation.h>
// If no label is provided, use this
#define TICONTACT_DEFAULT_LABEL @"other"
@interface TIContact : NSObject
// Full name of the contact
@property (nonatomic, copy) NSString *fullName;
// Email address associated with the contact.
@property (nonatomic, copy) NSString *email;
// Label describing the type of email address.
@property (nonatomic, copy) NSString *emailLabel;
// Phone number associated with contact
@property (nonatomic, copy) NSString *phone;
// Label describing the type of phone number
@property (nonatomic, copy) NSString *phoneLabel;
+ (id)contactWithName:(NSString *)name
email:(NSString *)email
label:(NSString *)label;
- (id)initWithName:(NSString *)name
email:(NSString *)email
label:(NSString *)label;
@end