Device battery indicators on your Lock Screen
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

KAIBatteryStack.h 478B

4 years ago
4 years ago
4 years ago
4 years ago
123456789101112
  1. @interface KAIBatteryStack : UIStackView
  2. @property (nonatomic, strong) NSMutableArray *displayingDevices;
  3. @property (nonatomic, assign) NSInteger number;
  4. @property (nonatomic, assign) NSInteger oldCountOfDevices;
  5. @property (nonatomic, strong) NSLayoutConstraint *heightConstraint;
  6. @property (nonatomic, assign) BOOL isUpdating;
  7. @property (nonatomic, assign) BOOL queued;
  8. +(KAIBatteryStack *)sharedInstance;
  9. -(instancetype)init;
  10. -(void)refreshForPrefs;
  11. -(void)updateBattery;
  12. @end