Created
July 15, 2016 03:58
-
-
Save atomicbird/efbcb04eef24f074ad32dc6f9318965f to your computer and use it in GitHub Desktop.
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
let fetchRequest: NSFetchRequest<Event> = Event.fetchRequest() | |
let result : [Event]? = try? context.fetch(fetchRequest) | |
for event in result ?? [] { | |
print("time: \(event.timeStamp)") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment