loganwright / Genome

A simple, type safe, failure driven mapping library for serializing JSON to models in Swift 3.0 (Supports Linux)
MIT License
762 stars 58 forks source link

User Defaults #99

Closed cnbecom closed 7 years ago

cnbecom commented 7 years ago

I am attempting to set a Genome.Node.array value to user defaults. Is this even possible via Genome? I have looked into extending Genome and Node to conform to NSCoding but have not found a unsuccessful as they are not classes.

Suggestions? Thank you.

cnbecom commented 7 years ago

Closing as I figured out the solution with the NodeConvertible Data extension in the Genome module.