Most efficient way to create object from text files in iOS

ryantzehrbcht

New Member
What would be a convenient way to store text files, such that it would make it easy to create objects from them in iOS?For example:
  • spreadsheets -> XML -> NSObject subclass (the problem with this one is that Google Docs Spreadsheets can only be exported to OpenDocument Spreadsheets XML files, which are very inconvenient to parse)
  • csv -> NSObject subclass (csv is too error-prone)
Sample data to be stored:Sample class to be created:\[code\]@interface Person : NSObject{ NSString *name; NSString *number; NSString *email;}\[/code\]Thank you
 
Back
Top