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
834B

  1. @interface KAIStackView : UIStackView
  2. @property (nonatomic, strong) NSLayoutConstraint *heightConstraint;
  3. @end
  4. @interface KAIBatteryPlatter : UIScrollView <UIScrollViewDelegate>
  5. @property (nonatomic, strong) UIView *stackHolder;
  6. @property (nonatomic, assign) NSInteger number;
  7. @property (nonatomic, assign) NSInteger oldCountOfDevices;
  8. @property (nonatomic, strong) NSLayoutConstraint *heightConstraint;
  9. @property (nonatomic, strong) NSLayoutConstraint *widthConstraint;
  10. @property (nonatomic, strong) NSLayoutConstraint *subviewAligner;
  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