TradableBrokerLogos

@objc public class TradableBrokerLogos: NSObject, NSCoding

Contains a set of various broker logos for specific account.

  • Simple description of this object.

    Declaration

    Swift

    public override var description: String
  • Fetches a small broker logo (20px high) and caches it.

    Declaration

    Swift

    @objc public func getSmallBrokerLogo(_ logoCompleted: ((_ logoImg: UIImage?) -> Void)!)

    Parameters

    logoCompleted

    A closure containing an optional small broker logo for this account.

  • Fetches a broker logo on light background (100px high) and caches it.

    Declaration

    Swift

    @objc public func getOnLightBrokerLogo(_ logoCompleted: ((_ logoImg: UIImage?) -> Void)!)

    Parameters

    logoCompleted

    A closure containing an optional broker logo on light background for this account.

  • Fetches a broker logo on dark background (100px high) and caches it.

    Declaration

    Swift

    @objc public func getOnDarkBrokerLogo(_ logoCompleted: ((_ logoImg: UIImage?) -> Void)!)

    Parameters

    logoCompleted

    A closure containing an optional broker logo on dark background for this account.

  • Fetches a broker logo in SVG format and caches it.

    Declaration

    Swift

    @objc public func getSvgBrokerLogo(_ logoCompleted: ((_ logoImg: UIImage?) -> Void)!)

    Parameters

    logoCompleted

    A closure containing an optional broker logo in SVG format for this account.

  • Fetches a broker solid logo in SVG format and caches it.

    Declaration

    Swift

    @objc public func getSvgSolidBrokerLogo(_ logoCompleted: ((_ logoImg: UIImage?) -> Void)!)

    Parameters

    logoCompleted

    A closure containing an optional broker solid logo in SVG format for this account.

  • Creates an object with given parameters. Conforms to NSCoding protocol.

    Declaration

    Swift

    required convenience public init?(coder decoder: NSCoder)
  • Encoding method, conforming to NSCoding protocol.

    Declaration

    Swift

    public func encode(with aCoder: NSCoder)