TradableOSUser

@objc public class TradableOSUser: NSObject

Tradable OS user. Might have a couple of accounts assigned to it.

  • id

    Unique identifier of the user.

    Declaration

    Swift

    public let id: String
  • Name of the user.

    Declaration

    Swift

    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

    public func getThumbnail(_ thumbCompleted: ((_ thumbnail: UIImage?) -> Void)!)

    Parameters

    thumbCompleted

    A closure containing the thumbnail for this user.

  • Fetches a picture (160x160 pixels) and caches it.

    Declaration

    Swift

    public func getPicture(_ picCompleted: ((_ picture: UIImage?) -> Void)!)

    Parameters

    picCompleted

    A closure containing the picture for this user.