Skip to content

Instantly share code, notes, and snippets.

@nicol3a

nicol3a/Event.swift

Last active Feb 1, 2019
Embed
What would you like to do?
class Event: ObjectConvertible {
var title: String?
var date: Date?
private(set) var identifier: String?
init(title: String, date: Date?, identifier: String? = nil) {
self.title = title
self.date = date
self.identifier = identifier
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment