Skip to content

Instantly share code, notes, and snippets.

@JoshuaSullivan
Created November 28, 2015 15:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JoshuaSullivan/dbbe909dd08a0fbadb92 to your computer and use it in GitHub Desktop.
Save JoshuaSullivan/dbbe909dd08a0fbadb92 to your computer and use it in GitHub Desktop.
Old and new mogenerator output snippets.
// DO NOT EDIT. This file is machine-generated and constantly overwritten.
// Make changes to Category.swift instead.
import CoreData
@objc public
class _Category: NSManagedObject {
public struct Attributes {
static let displayName = "displayName"
static let id = "id"
}
public struct Relationships {
static let filters = "filters"
}
// MARK: - Class methods
public class func entityName () -> String {
return "Category"
}
...
// DO NOT EDIT. This file is machine-generated and constantly overwritten.
// Make changes to Category.swift instead.
import CoreData
public enum CategoryAttributes: String {
case displayName = "displayName"
case id = "id"
}
public enum CategoryRelationships: String {
case filters = "filters"
}
@objc public
class _Category: NSManagedObject {
// MARK: - Class methods
public class func entityName () -> String {
return "Category"
}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment