Create zoom and bounce effect for your UIButton. Compatible with iOS 7 and higher.
Try Letter Avatar at Appstore
CocoaPods is the recommended way to add NVZoomBounceButton to your project.
- Add a pod entry for NVZoomBounceButton to your Podfile
pod 'NVZoomBounceButton' - Install the pod(s) by running
pod install. - Include NVZoomBounceButton wherever you need it with
#import <NVZoomBounceButton.h>.
Alternatively you can directly add the NVZoomBounceButton.h and NVZoomBounceButton.m source files to your project.
- Download the latest code version or add the repository as a git submodule to your git-tracked project.
- Open your project in Xcode, then drag and drop
NVZoomBounceButton.handNVZoomBounceButton.monto your project (use the "Product Navigator view"). Make sure to select Copy items when asked if you extracted the code archive outside of your project. - Include NVZoomBounceButton wherever you need it with
#import "NVZoomBounceButton.h".
self.demoBtn.tintColor = [UIColor redColor];
self.demoBtn.zoomViewColor = [UIColor whiteColor];
self.demoBtn.backgroundColor = [UIColor grayColor];
self.demoBtn.roundedCorner = YES;
self.demoBtn.zoomViewPadding = 25;
[self.demoBtn setTitle:@"Gogo" forState:UIControlStateNormal];
[self.demoBtn setImage:[UIImage imageNamed:@"icEdit"] forState:UIControlStateNormal];This code is distributed under the terms and conditions of the MIT license.

