`
cxsjabc
  • 浏览: 19811 次
  • 性别: Icon_minigender_1
  • 来自: 合肥
最近访客 更多访客>>
社区版块
存档分类
最新评论

iphone-common-codes-ccteam源代码 CCAddressBook.h

阅读更多
//  
//  CCAddressBook.h  
//  CCFC  
//  
//  Created by xichen on 11-12-16.  
//  Copyright 2011年 ccteam. All rights reserved.  
//  
  
  
#import <Foundation/Foundation.h>  
#import <AddressBook/AddressBook.h>  
  
  
@interface CCAddressBook : NSObject   
{  
    NSArray         *_abAllPeople;  
    NSArray         *_abGroups;  
}  
  
  
- (id)init;  
- (void)dealloc;  
  
  
- (int)getABRecordCount;  
- (int)getABGroupCount;  
  
  
- (ABRecordRef)getABRecordRefByIndex:(int)index;  
- (ABRecordID)getABRecordIDByIndex:(int)index;  
- (NSString *)getCompositeNameByIndex:(int)index;  
- (NSMutableArray *)getPhoneNumberArrByIndex:(int)index;  
  
  
// 根据ABRecordRef获取联系人姓名全称  
- (NSString *)getFullNameByRecord:(ABRecordRef)record;  
  
  
// 根据index获取联系人姓名全称  
- (NSString *)getFullNameByIndex:(int)index;  
  
  
@end  


googlecode链接地址(会有更新):
http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCAddressBook.h

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics