DroidsOnRoids/StructPersistence

Name: StructPersistence

Owner: Droids On Roids

Description: null

Created: 2017-05-22 11:25:00.0

Updated: 2018-03-06 21:56:36.0

Pushed: 2017-05-27 18:47:01.0

Homepage: null

Size: 35

Language: Swift

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

This is a finished project described in blogpost here. For more details, context, motivation and more please check it out!

Used pods:

Used library:

Usage

You declare what template you want to apply on a struct with //sourcery: templateOne, templateTwo, etc:

urcery: NSCodingWrapper, RealmStruct, CoreDataStruct
ct Shot {
let id: Int
let url: String
let likes: Int
let comments: Int
let buckets: Int
let views: Int

To launch codegen you need to run Sourcery via:

sourcery --sources <sources path> --templates <templates path> --output <output path> [--args arg1=value,arg2]

For more info please check out the Sourcery repo.

Sidenotes

The purpose of this project is:

I'm NOT showing here:


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.