I would like to be able to parse a vCard from a string and produce a string representation for a vCard.
Asked
Active
Viewed 5,310 times
0
-
Have you looked at this: http://en.wikipedia.org/wiki/VCard It seems to be pretty simple... You could make an array for each line, then make a dictionary separated by a colon for each object in the array. For the parsing, at least. – Aurum Aquila Mar 06 '11 at 04:25
-
3https://github.com/aussiegeek/AddressBookVcardImport/blob/master/Classes/VcardImporter.m Actually looks pretty good. Butcher this guy's code and you should be rolling. – Aurum Aquila Mar 06 '11 at 04:44
-
Aurum: Why not post that comment as an answer? – Jim Mar 06 '11 at 13:59
-
you don't need to any library any more see this link http://stackoverflow.com/a/2996334/1671176 – Siddharth Paneri Mar 18 '15 at 12:13
1 Answers
3
Check out this library, I'm not the creator but i've used and it works just fine. Just take a look in the comments as there is a error that needs fixing in the library.

Salem Sayed
- 170
- 1
- 10