-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathContact.h
33 lines (24 loc) · 880 Bytes
/
Contact.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
//
// ContactPerson.h
// ringring.io
//
// Created by Peter Kosztolanyi on 13/01/2014.
//
//
#import <Foundation/Foundation.h>
#import <AddressBook/AddressBook.h>
@interface Contact : NSObject
@property (nonatomic, copy) NSString *email;
@property (nonatomic, copy) NSString *firstName;
@property (nonatomic, copy) NSString *lastName;
@property (nonatomic, copy) NSString *fullName;
@property (nonatomic, copy) UIImage *image;
@property (nonatomic) BOOL hasUnreadMessages;
@property (nonatomic) BOOL isActivated;
@property (nonatomic) BOOL isLoggedIn;
@property (nonatomic, retain) NSDate *statusRefreshedAt;
- (id)initWithEmail:(NSString *)anEmail withFirstName:(NSString *)aFirstName withLastName:(NSString *)aLastName withImage:(UIImage *)anImage;
- (id)initWithContact:(Contact *)contact;
- (id)initWithDefault:(NSString *)anEmail;
- (NSString *)description;
@end