-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS/ARM support #9
Labels
Comments
I/O Kit is a private framework on iOS, so current Battery class won't work. Need to use UIDevice class instead. |
|
This also implies ARM support |
Examples from Apple split platform specific code into different subdirs. What about the use of macros instead? |
beltex
added a commit
that referenced
this issue
Feb 7, 2015
- As seen via 'pmset -g therm' - In terms of placement, arguably this should be moved to a separate Power struct of its own. Not only because there are a number of power related functions that could be added, but also because this relies on I/O Kit which is private on iOS. So when it comes time to work on #9, it could add a bit of hassle as it be harder to separate things, since currently, System.swift should work fine on iOS. Work around is using a macro.
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: