Can i found a class to transform a plist file (nsdictionnary with string) ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, there is no such generic solution.
A plist, by it’s nature, is a hierarchical format.
A csv file, by contrast, is a tabular format.
Any conversion between the two will be highly specialised, although generally speaking, you can convert tabular data formats to a hierachical format, but the conversion will be very inefficient. The reverse, however, is not generally possible in most situations.
For an NSDictionary, however, a conversion is possible, say, with a CSV file with a “Keys” column and a “Values” column, if the keys and values are both very primitive types (such as a string), but this is a very, very small subset of what plists can contain.