Skip to content

Instantly share code, notes, and snippets.

@bstien
bstien / Item.swift
Last active October 30, 2017 21:07
Testing ViewModel with Core Data
import Foundation
import RxCoreData
import CoreData
// The entity's name in .xcdatamodeld is 'Item'. It has empty fields for both Class and Module. Codegen is 'Manual/None'.
struct Item {
var date: Date
}