TradableOSUser
@objc public class TradableOSUser: NSObject
Tradable OS user. Might have a couple of accounts assigned to it.
-
Unique identifier of the user.
Declaration
Swift
@objc public let id: String -
Name of the user.
Declaration
Swift
@objc public let name: String -
Simple description of this object.
Declaration
Swift
public override var description: String -
Fetches a thumbnail (40x40 pixels) and caches it.
Declaration
Swift
@objc public func getThumbnail(_ thumbCompleted: ((_ thumbnail: UIImage?) -> Void)!)Parameters
thumbCompletedA closure containing the thumbnail for this user.
-
Fetches a picture (160x160 pixels) and caches it.
Declaration
Swift
@objc public func getPicture(_ picCompleted: ((_ picture: UIImage?) -> Void)!)Parameters
picCompletedA closure containing the picture for this user.
View on GitHub
TradableOSUser Class Reference