Skip to content

filograno/DeviceUtil

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

132 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeviceUtil

For Swift please visit DeviceGuru

DeviceUtil helps identifying the exact harware type of the device. e.g. iPhone 6 or iPhone 6s.

  • Easy to use
  • Light weight

Installation

Go to http://cocoapods.org
Search for DeviceUtil lib
Copy the pod dependency and add that to your pod file. e.g.

pod 'DeviceUtil', '~> x.y'

Usage

  if ([DeviceUtil hardware] == IPHONE_5C) {
    NSLog(@"Device is iPhone 5c");
  }

Development

Want to contribute? Great!

Send the pull request :)

License

MIT

About

For Swift please visit DeviceGuru(https://github.com/InderKumarRathore/DeviceGuru)

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Objective-C 95.0%
  • Ruby 5.0%