Latest 1.0.0
Homepage https://github.com/nhuanvd/NVZoomBounceButton
License MIT
Platforms ios 7.0, requires ARC
Authors

Pod Version
Pod Platform
Pod License

Create zoom and bounce effect for your UIButton. Compatible with iOS 7 and higher.

Demo

Real Application

Try Letter Avatar at Appstore

Screenshots

Adding NVZoomBounceButton to your project

Cocoapods

CocoaPods is the recommended way to add NVZoomBounceButton to your project.

  1. Add a pod entry for NVZoomBounceButton to your Podfile pod 'NVZoomBounceButton'
  2. Install the pod(s) by running pod install.
  3. Include NVZoomBounceButton wherever you need it with #import <NVZoomBounceButton.h>.

Source files

Alternatively you can directly add the NVZoomBounceButton.h and NVZoomBounceButton.m source files to your project.

  1. Download the latest code version or add the repository as a git submodule to your git-tracked project.
  2. Open your project in Xcode, then drag and drop NVZoomBounceButton.h and NVZoomBounceButton.m onto 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.
  3. Include NVZoomBounceButton wherever you need it with #import "NVZoomBounceButton.h".

Usage

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];

License

This code is distributed under the terms and conditions of the MIT license.

Latest podspec

{
    "name": "NVZoomBounceButton",
    "version": "1.0.0",
    "summary": "Create zoom and bounce effect for your UIButton",
    "homepage": "https://github.com/nhuanvd/NVZoomBounceButton",
    "license": "MIT",
    "authors": {
        "Nhuan Vu Duc": "[email protected]"
    },
    "source": {
        "git": "https://github.com/nhuanvd/NVZoomBounceButton.git",
        "tag": "1.0.0"
    },
    "source_files": "NVZoomBounceButton/NVZoomBounceButton.{h,m}",
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true
}

Pin It on Pinterest

Share This