Photo
@objcMembers
final class Photo : Object
Realm representation of a photo
-
desc
Declaration
Swift
dynamic var desc: String
-
locationId
Declaration
Swift
dynamic var locationId: Int
-
photoId
Declaration
Swift
dynamic var photoId: Int
-
updatedAt
Declaration
Swift
dynamic var updatedAt: Date
-
userId
Declaration
Swift
dynamic var userId: Int
-
uuid
Declaration
Swift
dynamic var uuid: String
-
Constructor from MTP endpoint data
Declaration
Swift
convenience init(from: PhotoJSON)
-
Constructor from MTP endpoint data
Declaration
Swift
convenience init(from: PhotoReply)
-
Image URL if available
Declaration
Swift
var imageUrl: URL? { get }
-
Attributed title string if available
Declaration
Swift
var attributedTitle: NSAttributedString? { get }