Latest 0.2.1
Homepage https://github.com/oalejel/SqueezeButton
License MIT MIT License

Copyright (c) 2018 Omar Al-Ejel

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Platforms ios 9.0, requires ARC
Frameworks UIKit

SqueezeButton-iOS-Button

A round-cornered button with shrinking and rescaling response to touch.

Features

  • Customizable rounded corners
  • IBDesignable and IBInspectable
  • Custom Gradient settings with specified colors and angle

example gif

CocoaPods

pod 'SqueezeButton'

Note

Cocoapods currently does not support IBDesignable features, but will have a solution. You may encounter a warning that your interface builder is unable to render the button live.

Latest podspec

{
    "name": "SqueezeButton",
    "version": "0.2.1",
    "summary": "SqueezeButton is a customizable, animated, rounded-cornered button.",
    "description": "SqueezeButton is a customizable, animated, rounded-cornered button. Supports IBDesignable.",
    "homepage": "https://github.com/oalejel/SqueezeButton",
    "screenshots": "https://raw.githubusercontent.com/oalejel/SqueezeButton/master/example.gif",
    "swift_version": "4.0",
    "license": {
        "type": "MIT",
        "text": "MIT LicensennnCopyright (c) 2018 Omar Al-EjelnnPermission is hereby granted, free of charge, to any person obtaining a copynof this software and associated documentation files (the "Software"), to dealnin the Software without restriction, including without limitation the rightsnto use, copy, modify, merge, publish, distribute, sublicense, and/or sellncopies of the Software, and to permit persons to whom the Software isnfurnished to do so, subject to the following conditions:nnThe above copyright notice and this permission notice shall be included in allncopies or substantial portions of the Software.nnTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORnIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEnAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERnLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THEnSOFTWARE."
    },
    "authors": "Omar Al-Ejel",
    "social_media_url": "http://twitter.com/oalejel",
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/oalejel/SqueezeButton.git",
        "tag": "0.2.1"
    },
    "source_files": "SqueezeButtonPreview/**.{swift}",
    "frameworks": "UIKit",
    "requires_arc": true
}

Pin It on Pinterest

Share This