theappbusiness / ConfigGenerator

Configuration file code generator for use in Xcode projects
MIT License
157 stars 19 forks source link

Adds support for parsing arrays #39

Closed theblixguy closed 5 years ago

theblixguy commented 5 years ago

This PR adds support for parsing an array from the Config plist. It probably will not work recursively (array inside array...), but I can fix that if needed.

It's a bit hacky - the value is returned as a variadic tuple, however there's no way to cast the value as a variadic tuple, so you have to do a bit of string manipulation to trim off some parts. But hey, it works!