SkillAgentSearch skills...

JMAnimationButton

AnimationButton is used for loading and changing interface

Install / Use

/learn @Jimmy6464/JMAnimationButton
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

JMAnimationButton

result

Usage

Button:
[button1 addTarget:self action:@selector(click:) forControlEvents:UIControlEventTouchUpInside];  
-(void)click:(JMAnimationButton*)button{
	[button startAnimation];
}
After the button began to animate,you can observe the event use the delegate<JMAnimationButtonDelegate>
Such as:
-(void)JMAnimationButtonDidStartAnimation:(JMAnimationButton *)JMAnimationButton{
	NSLog(@"start");
	dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1.8 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
	[JMAnimationButton stopAnimation];//Use this method to stop animation
	});
}

Welcome to fork and make some valuable comments.Thanks!

View on GitHub
GitHub Stars26
CategoryDevelopment
Updated1mo ago
Forks6

Languages

Objective-C

Security Score

75/100

Audited on Feb 9, 2026

No findings