wvteijlingen / Spine

A Swift library for working with JSON:API APIs. It supports mapping to custom model classes, fetching, advanced querying, linking and persisting.
MIT License
266 stars 109 forks source link

Public field name #82

Closed invliD closed 8 years ago

invliD commented 8 years ago

It's very useful to be able to iterate a model's fields, but it's currently impossible to use Spine's fields array, because the fields' name and serializedName are internal instead of public. This PR makes the getters of those two properties public.

wvteijlingen commented 8 years ago

Thanks!