≈ the.bay.news

DeviceLookup: Apple device names, chips and screen sizes, without an enum case per model

Swift Forums
DeviceLookup: Apple device names, chips and screen sizes, without an enum case per model
I'd like to share DeviceLookup, a small package that turns a hardware model identifier into what people call the device, along with its chip, screen size and family. import DeviceLookup let device = Device.current device.modelName // "iPhone 17 Pro" device.deviceDescription // "iPhone 17 Pro, A19 Pro" device.family // .phone device.diagonal // 6.3 Device(modelIdentifier: "Watch7,18").modelName // "Apple Watch Series 11 (GPS) 46mm" Device(modelIdentifier: "Ap...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.