Skip to content

Instantly share code, notes, and snippets.

@nicol3a
Last active February 1, 2019 18:03
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 nicol3a/79700b0c89a1089d910bc49265fb66b4 to your computer and use it in GitHub Desktop.
Save nicol3a/79700b0c89a1089d910bc49265fb66b4 to your computer and use it in GitHub Desktop.
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