Get Updates By E-mail 

Article Written By:
Johann Dowa

AssistantKit – A Swift Library That Simplifies Gathering iOS Device And OS Details

  •  
  •  
  •  
  •  
  •  

AssistantKit from Anatoliy Voropay is an open source Swift library that simplifies gathering iOS device and OS details.

AssistantKit provides a simple clean syntax for detecting the device, screen size, screen scale interface orientation, and for gathering the cache and document directories.

This snippet from the readme shows how easy it is to detect device type with AssistantKit:

let device = Device.type

switch device {
case .Phone:      print("iPhone")
case .Pad:        print("iPad")
case .Pod:        print("iPod")
case .Simulator:  print("Simulator")
default:          print("Unknown")
}

You can find AssistantKit on Github here.

A handy library for detecting device properties.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments