全部文本 #1714 原始 编辑

Anonymous

公开 text v1 · 不可变
·已发布 2004-10-26 02:01 UTC
渲染后的文本正文
// main.m
// created in SubEthaEdit using CodeCommenter (An auto-code commenter written by Alex Shanks)
// created on: Mon 8:51 PM

#import <Foundation/Foundation.h>

int main(int argc, const char * argv[]) {
    ABAddressBook *myBook = [ABAddressBook sharedAddressBook]; // get the book
    NSArray *myPeople = [myBook people]; // create the array of the people
    NSLog(@"%@\n",myPeople); // log the records in NSLog..
    return 0; // return 0...
}