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.

19 line
768B

  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) KAIStackView *stack;
  11. @property (nonatomic, assign) BOOL isUpdating;
  12. @property (nonatomic, assign) BOOL queued;
  13. +(KAIBatteryPlatter *)sharedInstance;
  14. -(instancetype)initWithFrame:(CGRect)arg1;
  15. -(void)refreshForPrefs;
  16. -(void)updateBattery;
  17. -(void)calculateHeight;
  18. @end