{"id":13992594,"url":"https://github.com/mattt/vCardSerialization","last_synced_at":"2025-07-22T16:30:54.338Z","repository":{"id":15596150,"uuid":"18332186","full_name":"mattt/vCardSerialization","owner":"mattt","description":"Encodes and decodes between vCard files and AddressBook records.","archived":true,"fork":false,"pushed_at":"2019-06-13T17:05:47.000Z","size":1154,"stargazers_count":69,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-04T18:56:41.237Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mattt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-01T14:26:14.000Z","updated_at":"2024-05-31T07:24:59.000Z","dependencies_parsed_at":"2022-07-12T15:13:54.611Z","dependency_job_id":null,"html_url":"https://github.com/mattt/vCardSerialization","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mattt/vCardSerialization","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattt%2FvCardSerialization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattt%2FvCardSerialization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattt%2FvCardSerialization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattt%2FvCardSerialization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattt","download_url":"https://codeload.github.com/mattt/vCardSerialization/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattt%2FvCardSerialization/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266530839,"owners_count":23943987,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-09T14:02:03.268Z","updated_at":"2025-07-22T16:30:53.637Z","avatar_url":"https://github.com/mattt.png","language":"Objective-C","funding_links":[],"categories":["Objective-C"],"sub_categories":[],"readme":"# vCardSerialization\n\n\u003e This library is no longer maintained.\n\u003e In iOS 9.0+ and macOS 10.11+,\n\u003e use [`CNContactVCardSerialization`](https://developer.apple.com/documentation/contacts/cncontactvcardserialization) instead.\n\n`vCardSerialization` encodes and decodes between [vCard](http://en.wikipedia.org/wiki/VCard) and [AddressBook](https://developer.apple.com/library/ios/documentation/AddressBook/Reference/AddressBook_iPhoneOS_Framework/_index.html) records, following the API conventions of Foundation's `NSJSONSerialization` class.\n\n## Usage\n\n### Decoding\n\n```objective-c\n@import AddressBookUI;\n\n#import \"vCardSerialization.h\"\n\nNSURL *URL = [[NSBundle mainBundle] URLForResource:@\"contact\" withExtension:@\"vcf\"];\nNSData *data = [NSData dataWithContentsOfURL:URL];\n\nABPersonViewController *viewController = [[ABPersonViewController alloc] init];\nviewController.displayedPerson = (__bridge ABRecordRef)[[vCardSerialization addressBookRecordsWithVCardData:data error:nil] firstObject];\nABPeoplePickerNavigationController *navigationController = [[ABPeoplePickerNavigationController alloc] initWithRootViewController:viewController];\n[self.navigationController presentViewController:navigationController animated:YES completion:nil];\n```\n\n### Encoding\n\n```objective-c\nNSArray *records = ...;\nNSData *data = [vCardSerialization vCardDataWithAddressBookRecords:records error:nil];\n```\n\n---\n\n## License\n\nMIT\n\n## Contact\n\nMattt ([@mattt](https://twitter.com/mattt))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattt%2FvCardSerialization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattt%2FvCardSerialization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattt%2FvCardSerialization/lists"}