Convert plist to CSV file?
问题 I have a .plist file containing array and dictionaries. I want to convert this into a CSV file so I can then upload this online to a database. Does anyone know of a simple way to do this? 回答1: Dave DeLong has written a CSV parser which will help you accomplish this task, you can get more info on this answer he has posted in this question.. How to convert the NSMutableArray to CSV file on iPhone? 回答2: Look the following code NSString* plistPath = [[NSBundle mainBundle] pathForResource:@"test"