NSNumber

extension NSNumber
  • Converts an NSNumber to a CGFloat value from its Double representation.

    Declaration

    Swift

    public var CGFloat: CGFloat { get }
  • Converts the Float value of an NSNumber to a CLLocationDirection representation.

    Declaration

    Swift

    public var CLLocationDirection: CLLocationDirection { get }