Device battery indicators on your Lock Screen
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

17 lines
650B

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