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.

20 lines
843B

  1. @interface KAIStackView : UIStackView
  2. @property (nonatomic, strong) NSLayoutConstraint *heightConstraint;
  3. @property (nonatomic, strong) NSLayoutConstraint *widthConstraint;
  4. @property (nonatomic, strong) NSLayoutConstraint *aligner;
  5. @end
  6. @interface KAIBatteryPlatter : UIScrollView <UIScrollViewDelegate>
  7. @property (nonatomic, assign) NSInteger number;
  8. @property (nonatomic, assign) NSInteger oldCountOfDevices;
  9. @property (nonatomic, strong) NSLayoutConstraint *heightConstraint;
  10. @property (nonatomic, strong) NSLayoutConstraint *widthConstraint;
  11. @property (nonatomic, strong) KAIStackView *stack;
  12. @property (nonatomic, assign) BOOL isUpdating;
  13. @property (nonatomic, assign) BOOL queued;
  14. +(KAIBatteryPlatter *)sharedInstance;
  15. -(instancetype)initWithFrame:(CGRect)arg1;
  16. -(void)refreshForPrefs;
  17. -(void)updateBattery;
  18. -(void)calculateHeight;
  19. @end