Created
January 19, 2019 06:35
-
-
Save Ibrahimhass/f7b08f85e87b0c430858593f46662bdb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "ViewController.h" | |
@interface ViewController () | |
@end | |
@implementation ViewController | |
- (void)viewDidLoad { | |
[super viewDidLoad]; | |
// Do any additional setup after loading the view, typically from a nib. | |
} | |
- (IBAction)middleButtonTapped:(UIButton *)sender { | |
[UIView animateWithDuration:0.5 animations:^{ | |
sender.layer.cornerRadius = sender.frame.size.height / 2; | |
}]; | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment