Nimbus 0.9.3 - Nimbus is proudly hosted on Github
An iOS framework whose growth is bounded by O(documentation).
An interface for accessing device information.
This class is not meant to be instantiated. All methods are class implementations.
This class aims to simplify the interface for collecting device information. The low-level mach APIs provide a host of valuable information but it's often in formats that aren't particularly ready for presentation.
|(unsigned long long)||+ bytesOfFreeMemory|
|(unsigned long long)||+ bytesOfTotalMemory|
|(unsigned long long)||+ bytesOfFreeDiskSpace|
|(unsigned long long)||+ bytesOfTotalDiskSpace|
|+ (unsigned long long) bytesOfFreeMemory|
|+ (unsigned long long) bytesOfTotalMemory|
|+ (unsigned long long) bytesOfFreeDiskSpace|
|+ (unsigned long long) bytesOfTotalDiskSpace|
|+ (CGFloat) batteryLevel|
|+ (UIDeviceBatteryState) batteryState|
|+ (BOOL) beginCachedDeviceInfo|
Fetches the device's current information and then caches it.
All subsequent calls to NIDeviceInfo methods will use this cached information.
This can be a useful way to freeze the device info at a moment in time.
[NIDeviceInfo beginCachedDeviceInfo]; // All calls to NIDeviceInfo methods here will use the information retrieved when // beginCachedDeviceInfo was called. [NIDeviceInfo endCachedDeviceInfo];