Reputation: 643
I'm looking for a Yaml parser for iOS, to get my Yaml data into dictionary.
I Found already this question asked here : Yaml parser
But, it seems that all these Frameworks are old, and contain ARC compatibility errors.
Have you any idea about which framework to use with xcode 6 and how can I make it functional.
Regards.
Upvotes: 1
Views: 1159
Reputation: 643
I found through the Pod library, a good Yaml parser. it's called Yaml-framework, To install it :
pod 'YAML-Framework'
Example of usage :
NSMutableDictionary* yaml = [YAMLSerialization objectWithYAMLStream: stream
options: kYAMLReadOptionStringScalars
error: &e];
Hope that helps other who are looking for the same thing.
Regards
Upvotes: 2