NYSLoadingButton Class Reference
| Inherits from | UIButton |
|---|---|
| Declared in | NYSLoadingButton.h NYSLoadingButton.m |
Other Methods
loadingColor
BACKGROUND_HIGHLIGHTER | CIRCLE_AND_TICK 下有效
@property (copy) UIColor *loadingColorDiscussion
BACKGROUND_HIGHLIGHTER | CIRCLE_AND_TICK 下有效
Declared In
NYSLoadingButton.h
– startLoading:
start loading
- (void)startLoading:(LoadingType)loadingTypeDiscussion
start loading
Declared In
NYSLoadingButton.h
– endAndDeleteLoading
stop loading
- (void)endAndDeleteLoadingDiscussion
stop loading
Declared In
NYSLoadingButton.h
– fillTheButtonWith:
update filling background - percent like 1,20…100
- (void)fillTheButtonWith:(CGFloat)percentDiscussion
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)percentDiscussion
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)copyBeforeAnyChangesDiscussion
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)createIndicatorLoadingDiscussion
move the text a little left and add the loading
Declared In
NYSLoadingButton.m
– createIndicatorView
create indicator view
- (void)createIndicatorViewDiscussion
create indicator view
Declared In
NYSLoadingButton.m
– createTopLineLoading
line loading
- (void)createTopLineLoadingDiscussion
line loading
Declared In
NYSLoadingButton.m
– loadingIsShowing
check if loading is showing or there are some loading views left
- (BOOL)loadingIsShowingReturn 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)createFillingLoadingDiscussion
create loading animation and layer
Declared In
NYSLoadingButton.m
– degreeToRadian:
- Parameter degree: degree
- Returns: calculated radian
- (float)degreeToRadian:(float_t)degreeDiscussion
- Parameter degree: degree
- Returns: calculated radian
Declared In
NYSLoadingButton.m