DeviceKit icon indicating copy to clipboard operation
DeviceKit copied to clipboard

Feature/device cpu

Open simonmitchell opened this issue 3 years ago • 0 comments

Adds CPU information to all devices, with Comparable cpu enum which allows for logic such as:

guard Device.current.cpu > Device.iPhone8Plus.cpu else {
      return 0.0089
}

return Device.current.cpu > Device.iPhoneX.cpu ? 0.0023 : 0.0047

as requested in #271!

simonmitchell avatar Jul 25 '22 14:07 simonmitchell