Constants

public enum Constants

Undocumented

  • Is running on simulator?

    Declaration

    Swift

    public static let isSimulator: Bool
  • Is it an iPhone device?

    Declaration

    Swift

    public static let isIPhone: Bool
  • Screen size

    Declaration

    Swift

    public static let screenSize: CGSize
  • Screen scale factor

    Declaration

    Swift

    public static let screenScale: CGFloat
  • Screen pixel size

    Declaration

    Swift

    public static let pixelSize: CGFloat
  • User documents directory URL

    Declaration

    Swift

    public static let documentsDirectoryUrl: URL
  • User temporary directory URL

    Declaration

    Swift

    public static let tempDirectoryUrl: URL
  • User cache directory URL

    Declaration

    Swift

    public static let cacheDirectoryUrl: URL
  • Height of status bar

    Declaration

    Swift

    public static let statusBarHeight: CGFloat
  • Navigation bar height

    Declaration

    Swift

    public static let navigationBarHeight: CGFloat
  • Navigation bar height

    Declaration

    Swift

    public static let topBarsHeight: CGFloat
  • Returns the on screen home button height

    Declaration

    Swift

    public static let homeButtonHeight: CGFloat