Created
September 18, 2015 14:07
-
-
Save 3lvis/5d70998680cda6ae9f68 to your computer and use it in GitHub Desktop.
ManagedObject.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import CoreData | |
@objc(Slot) | |
public class Slot: _Slot { | |
static func request() -> NSFetchRequest { | |
let request = NSFetchRequest(entityName: Slot.entityName()) | |
request.sortDescriptors = [NSSortDescriptor(key: "startTime", ascending: true)] | |
return request | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment