Blame view
App/model/Session.swift
442 Bytes
|
d774f0637
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
import Foundation
class Session{
var type: SessionType?
var title: String?
var otherData: Any?
init(title: String?) {
self.title = title
}
init(type: SessionType, title: String?) {
self.type = type
self.title = title
}
init(otherData: Any, title: String?) {
self.otherData = otherData
self.title = title
}
}
enum SessionType{
case LoadMore
}
|