PostCellModel
struct PostCellModel
Data model for post cell
-
Post index
Declaration
Swift
let index: Int
-
Date of post
Declaration
Swift
let date: String
-
Title of post
Declaration
Swift
let title: String
-
Body of post
Declaration
Swift
let body: String
-
Reportable ID
Declaration
Swift
let postId: Int
-
Type of presenter
Declaration
Swift
let presenter: Presenter
-
Location if available
Declaration
Swift
let location: Location?
-
User if available
Declaration
Swift
let user: User?
-
Show full text?
Declaration
Swift
var isExpanded: Bool