NYSLoadingButton Class Reference
Inherits from | UIButton |
---|---|
Declared in | NYSLoadingButton.h NYSLoadingButton.m |
Other Methods
loadingColor
BACKGROUND_HIGHLIGHTER | CIRCLE_AND_TICK 下有效
@property (copy) UIColor *loadingColor
Discussion
BACKGROUND_HIGHLIGHTER | CIRCLE_AND_TICK 下有效
Declared In
NYSLoadingButton.h
– startLoading:
start loading
- (void)startLoading:(LoadingType)loadingType
Discussion
start loading
Declared In
NYSLoadingButton.h
– endAndDeleteLoading
stop loading
- (void)endAndDeleteLoading
Discussion
stop loading
Declared In
NYSLoadingButton.h
– fillTheButtonWith:
update filling background - percent like 1,20…100
- (void)fillTheButtonWith:(CGFloat)percent
Discussion
update filling background - percent like 1,20…100
Declared In
NYSLoadingButton.h
– fillTheCircleStrokeLoadingWith:
update circle mode stroke - percent like 1,20…100
- (void)fillTheCircleStrokeLoadingWith:(CGFloat)percent
Discussion
update circle mode stroke - percent like 1,20…100
Declared In
NYSLoadingButton.h
Other Methods
– copyBeforeAnyChanges
cache the button before any animation,we keep a reference to data so we can restore everything to the first place
- (void)copyBeforeAnyChanges
Discussion
cache the button before any animation,we keep a reference to data so we can restore everything to the first place
Declared In
NYSLoadingButton.m
– createIndicatorLoading
move the text a little left and add the loading
- (void)createIndicatorLoading
Discussion
move the text a little left and add the loading
Declared In
NYSLoadingButton.m
– createIndicatorView
create indicator view
- (void)createIndicatorView
Discussion
create indicator view
Declared In
NYSLoadingButton.m
– createTopLineLoading
line loading
- (void)createTopLineLoading
Discussion
line loading
Declared In
NYSLoadingButton.m
– loadingIsShowing
check if loading is showing or there are some loading views left
- (BOOL)loadingIsShowing
Return Value
is loading showing?
Discussion
check if loading is showing or there are some loading views left
Declared In
NYSLoadingButton.m
– createFillingLoading
create loading animation and layer
- (void)createFillingLoading
Discussion
create loading animation and layer
Declared In
NYSLoadingButton.m
– degreeToRadian:
- Parameter degree: degree
- Returns: calculated radian
- (float)degreeToRadian:(float_t)degree
Discussion
- Parameter degree: degree
- Returns: calculated radian
Declared In
NYSLoadingButton.m