TradableApp

@objc public class TradableApp: NSObject

Contains information about an app.

  • The name of the app.

    Declaration

    Swift

    @objc public let name: String
  • The list of brokers for this app. An app can support a subset of the available brokers and this list will contain the brokers supported by this app.

    Declaration

    Swift

    @objc public let brokers: [TradableBroker]
  • Simple description of this object.

    Declaration

    Swift

    public override var description: String
  • Fetches app icon and caches it.

    Declaration

    Swift

    @objc public func getIcon(_ logoCompleted: ((_ icon: UIImage?) -> Void)!)

    Parameters

    logoCompleted

    A closure containing an optional app icon.