GBDeviceInfo_Common.h 1017 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //
  2. // GBDeviceInfoTypes_Common.h
  3. // GBDeviceInfo
  4. //
  5. // Created by Luka Mirosevic on 20/02/2015.
  6. // Copyright (c) 2015 Luka Mirosevic. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "GBDeviceInfoTypes_Common.h"
  10. #import "GBDeviceInfoInterface.h"
  11. #pragma mark - Public
  12. @interface GBDeviceInfo_Common : NSObject <GBDeviceInfoInterface>
  13. /**
  14. The raw system info string, e.g. "iPhone7,2".
  15. */
  16. @property (strong, atomic, readonly) NSString *rawSystemInfoString;
  17. /**
  18. The device family. e.g. GBDeviceFamilyiPhone.
  19. */
  20. @property (assign, atomic, readonly) GBDeviceFamily family;
  21. /**
  22. Information about the CPU.
  23. */
  24. @property (assign, atomic, readonly) GBCPUInfo cpuInfo;
  25. /**
  26. Amount of physical memory (RAM) available to the system, in GB.
  27. */
  28. @property (assign, atomic, readonly) CGFloat physicalMemory; // GB (gibi)
  29. /**
  30. Information about the system's OS. e.g. {10, 8, 2}.
  31. */
  32. @property (assign, atomic, readonly) GBOSVersion osVersion;
  33. @end