SwiftextensionMeasureFoundation

extension UIDevice

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

extends{}

Members 7

  1. funcstatic hasHWAcceleratedFeatureDetection() -> Bool
  2. funcstatic isDeviceQualified(family: UIDevice.DeviceFamily, minVersion: (major: Int, minor: Int)) -> Bool
  3. funcstatic isIPad() -> Bool
  4. funcstatic isIPhone() -> Bool
  5. funcstatic shouldLockFramerate() -> Bool
  6. varstatic var identifier: String { get }
  7. varstatic var parsedDeviceIdentifier: (family: UIDevice.DeviceFamily, version: (major: Int, minor: Int))? { get }
extension __C.UIDevice {
    enum DeviceFamily {
        case iPhone
        case iPad
        case iPod
    }
    static var identifier: Swift.String {
        get
    }
    static var parsedDeviceIdentifier: (family: __C.UIDevice.DeviceFamily, version: (major: Swift.Int, minor: Swift.Int))? {
        get
    }
    static let identifier: Swift.String
    static let parsedDeviceIdentifier: (family: __C.UIDevice.DeviceFamily, version: (major: Swift.Int, minor: Swift.Int))?

    static func isDeviceQualified(family: __C.UIDevice.DeviceFamily, minVersion: (major: Swift.Int, minor: Swift.Int)) -> Swift.Bool
    static func shouldLockFramerate() -> Swift.Bool
    static func hasHWAcceleratedFeatureDetection() -> Swift.Bool
    static func isIPad() -> Swift.Bool
    static func isIPhone() -> Swift.Bool
}