Session.swift
442 Bytes
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
}