Ali
Ali

Reputation: 643

Yaml parser for iOS

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

Answers (1)

Ali
Ali

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

Related Questions