Open in app
Abhimuralidharan
4.3K Followers
About

Sign in

4.3K Followers
About
Open in app

Swift 3.1 extensions for UIDevice

Abhimuralidharan

Abhimuralidharan

May 24, 2017·1 min read

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

Enjoy!!

If you enjoyed reading this post, please share and recommend it so others can find it 💚💚💚💚💚💚 !!!!

Abhimuralidharan

iOS and tvOS developer, dreamer, photographer 🤨

  • Swift
  • Uidevice
  • Extension
  • iOS
  • iOS App Development

More from Abhimuralidharan

iOS and tvOS developer, dreamer, photographer 🤨

More From Medium

Swift—Working with Dictionaries

Artturi Jalli in CodeX

Adding Space Between the Cells of a UITableView

Andrew Lundy

Self-Sizing Hell — UITableView and UICollectionView Cells

Daniel Munoz in Better Programming

Lazy Loading Images in UICollectionView using NSOperation and NSOperationQueue in Swift

Prashant Gautam

Dealing with Complex Table Views in iOS and Keeping Your Sanity

Marin Benčević in COBE

Using Swift UI with a plugin system

Bao Lei

The Voice Of… iOS

Jeroen de Vrind in Short Swift Stories

What are @IBDesignable and @IBInspectable in Swift?

Zafar Ivaev in Better Programming

About

Help

Legal

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