Ekhoo / Device

Light weight tool for detecting the current device and screen size written in swift.
MIT License
1.7k stars 202 forks source link

added iPad Pro 10.5 and new iPad Pro 12.9 (2017) support #47

Closed Sweefties closed 7 years ago

Sweefties commented 7 years ago

added iPad Pro 10.5 (7,3 7,4) support added iPad Pro 12.9 new generation 2017 (7,1 7,2) support

pducks32 commented 7 years ago

Hey @Ekhoo can we push this?

scottcc commented 7 years ago

👍 This.

scottcc commented 7 years ago

FWIW, I can't wait for this small-but-important MR to be added - in particular for the use of DeviceLayout. So, while I'd rather go back to DeviceLayout/Device, there's now a pushed:

@Sweefties, it essentially merges #47 and updates DeviceLayout as well. Of course this is pretty sub-optimal as it requires global import Device --> import DeviceSCC, and changing the module in storyboards from DeviceLayout --> DeviceLayoutSCC. But hey.

Ekhoo commented 7 years ago

Sorry for the delay, I will release a new version today ! Thank you for your PR :)

Ekhoo commented 7 years ago

Here is the new release v3.0.2