 	case iPad3
 	/// - iPad4: All iPad 4 variants.
 	case iPad4
-	/// - iPad5: All iPad 5 (2017) variants.
+	/// - iPad5: All iPad (2017) variants.
 	case iPad5
 	/// - iPadMini: The original iPad mini in all variants.
 	case iPadMini


extension Device {

	var displaySize: Float {
		return display.size
	}
	var display: Display {
		switch self {
		case .iPhone4S:
			return Display(size: 3.5, resolution: CGSize(width: 320, height: 480), physicalResolution: CGSize(width: 640, height: 960), renderedResolution: CGSize(width: 640, height: 960), scale: 2.0, density: 326)
		case .iPhone5,
			 .iPhone5c,
			 .iPhone5s,
			 .iPhoneSE:
			return Display(size: 4, resolution: CGSize(width: 320, height: 568), physicalResolution: CGSize(width: 640, height: 1136), renderedResolution: CGSize(width: 640, height: 1136), scale: 2.0, density: 326)
		case .iPhone6,
			 .iPhone6s,
			 .iPhone7:
			return Display(size: 4.7, resolution: CGSize(width: 375, height: 667), physicalResolution: CGSize(width: 750, height: 1334), renderedResolution: CGSize(width: 750, height: 1334), scale: 2.0, density: 326)
		case .iPhone6Plus,
			 .iPhone6sPlus,
			 .iPhone7Plus:
			return Display(size: 5.5, resolution: CGSize(width: 414, height: 736), physicalResolution: CGSize(width: 1080, height: 1920), renderedResolution: CGSize(width: 1242, height: 2208), scale: 3.0, density: 401)

		case .iPodTouch5G,
			 .iPodTouch6G:
			return .pod

		case .appleTV4:
			return .tv

		case .watch,
			 .watchSeries1,
			 .watchSeries2:
			return .watch

		case .iPad2,
			 .iPad3,
			 .iPad4,
			 .iPad5,
			 .iPadAir,
			 .iPadAir2,
			 .iPadPro12Inch,
			 .iPadPro9Inch,
			 .iPadPro12Inch2G,
			 .iPadPro10Inch,
			 .iPadMini,
			 .iPadMini2,
			 .iPadMini3,
			 .iPadMini4:
			return .pad

		case let .simulator(model):
			return model.display

		case .unknown(_):
			return Display(size: 0, resolution: CGSize.zero, physicalResolution: CGSize.zero, renderedResolution: CGSize.zero, scale: 0.0, density: 0)
		}
		return nil
	}

}

		case .iPad4:
			return "iPad 4"
		case .iPad5:
			return "iPad (2017)"
		case .iPadMini:
			return "iPad mini"
		case .iPadMini2:
