-
Notifications
You must be signed in to change notification settings - Fork 4
/
DALABRecord.h
29 lines (24 loc) · 848 Bytes
/
DALABRecord.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
//
// DALABRecord.h
// Dial
//
// Created by Indragie Karunaratne on 2012-11-29.
// Copyright (c) 2013 Indragie Karunaratne. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <AddressBook/AddressBook.h>
@interface DALABRecord : NSObject
@property (nonatomic, readonly) ABRecordType recordType;
@property (nonatomic, readonly) ABRecordRef record;
@property (nonatomic, readonly) ABRecordID recordID;
@property (nonatomic, copy, readonly) NSString *compositeName;
- (id)initWithRecord:(ABRecordRef)record;
- (NSArray *)arrayForProperty:(ABPropertyID)property;
- (BOOL)setArray:(NSArray *)array
forProperty:(ABPropertyID)property
error:(NSError **)error;
- (id)valueForProperty:(ABPropertyID)property;
- (BOOL)setValue:(id)value
forProperty:(ABPropertyID)property
error:(NSError **)error;
@end