Open in app
Abhimuralidharan
4.2K Followers
About

Sign in

4.2K 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 💚💚💚💚💚💚 !!!!

Written by

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

Using Swift Enums as Stateful Data Models

Petros Demetrakopoulos in Code Story

Lazy Loading Images in UICollectionView using NSOperation and NSOperationQueue in Swift

Prashant Gautam

Type Conversion & Generics in Swift

Mark Lucking in Code Story

Load local images asynchronously in the table view

joker hook in The Startup

How to Implement UITableView and UICollectionView With RxDataSources

Zafar Ivaev in Better Programming

Traits of a good accessible iOS app

Dani Devesa in Level Up Coding

How to make gradients in iOS using Swift

Yogesh Manghnani in codeburst

Designing a workflow with functions that are capable of failing

Alexey Savchenko in Noteworthy - The Journal Blog

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