Skip to content
signaturelabsPublic

About

A re-usable model object that provides a few nifty features

Resources

Stars

1 star

Watchers

6 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A lightweight self-contained model object that provides boilerplate machinery commonly needed by model objects, such as the ability to be loaded from a dictionary or exported into a dictionary.

  • Initialize a model from a dictionary, with the ability to load an object graph of arbitrary depth if your model contains references to other SGModelObject instances, or collections.

  • Export a model to a dictionary, with the ability to export an object graph of arbitrary depth.

  • Define a list of aliases to map field names in dictionary to field names in model object.

  • Define custom transformers, like the ability to map a date string in a dictionary field into an NSDate object in the model object.

  • Automatically box and unbox primitives

MPL 1.1 – See LICENSE file

About

A re-usable model object that provides a few nifty features

Resources

Stars

1 star

Watchers

6 watching

Forks

Releases

Packages

Contributors

Languages