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.

18 lines
717B

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