-
Notifications
You must be signed in to change notification settings - Fork 436
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added functionality to get the simulator model (thanks @Caseyc585)
added functions that make it easier to determine whether or not the current device is in a specific group or family of devices changed the battery level type from Double to Int since UIDevice itself only returns a double with 2 digit precision (i.e. 0.34 for 34%) modified tests for the new functionality
- Loading branch information
Dennis Weissmann
committed
Dec 22, 2015
1 parent
ed19138
commit 99cee4c
Showing
7 changed files
with
288 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'DeviceKit' | ||
s.version = '0.0.1' | ||
s.version = '0.1.0' | ||
s.summary = 'DeviceKit is a µ-framework that provides a value-type wrapper of UIDevice.' | ||
|
||
s.description = <<-DESC | ||
`DeviceKit` is a value-type wrapper and extension of [`UIDevice`](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIDevice_Class/). | ||
DESC | ||
|
||
s.homepage = 'https://github.com/dennisweissmann/DeviceKit' | ||
s.license = { :type => 'MIT', :file => 'LICENSE' } | ||
s.license = 'MIT' | ||
s.author = 'Dennis Weissmann' | ||
s.social_media_url = 'https://twitter.com/dennis_weissman' | ||
|
||
s.requires_arc = true | ||
s.ios.deployment_target = '8.0' | ||
s.tvos.deployment_target = '9.0' | ||
|
||
s.source = { :git => 'https://github.com/dennisweissmann/DeviceKit.git', :tag => s.version.to_s } | ||
s.source = { :git => 'https://github.com/dennisweissmann/DeviceKit.git', :tag => s.version } | ||
s.source_files = 'DeviceKit-iOS', 'DeviceKit-tvOS', 'SharedCode' | ||
|
||
s.requires_arc = true | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.