Swift 3.1 extensions for UIDevice

The following code is an extension for UIDevice . It tells Swift that we want to add functionality to its UIDevice class.

Enjoy!!

iOS and tvOS developer, dreamer, photographer 🤨

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store