Latest 0.1.0
Homepage https://github.com/mo3bius/IconButton
License MIT
Platforms ios 9.0
Authors

CI Status
Version
License
Platform

Getting Started

Storyboard

  • Go to main.storyboard and add a blank UIBUtton
  • Open the Identity Inspector and type ‘IconButton‘ the ‘class‘ field
  • Make sure you have ‘IconButton‘ selected in ‘Module‘ field
  • Switch to the Attributes Inspector and configure it as you like.

CardViewStoryboard

Example

A small example of a normal iOS button and what you can do with the library.

Classic
Custom

Customization

var clickAlphaComponent: CGFloat
var title: String?
var titleColor: UIColor?
var image: UIImage?
var imageTintColor: UIColor?
var isCircle: Bool
var cornerRadius: CGFloat
var borderWidth: CGFloat
var borderColor: UIColor
var shadowRadius: CGFloat
var shadowOpacity: CGFloat
var shadowOffSet: CGFloat
var shadowColor: UIColor

Prerequisites

  • Xcode 9.0 or newer
  • Swift 4.0

Installation

Cocoapods

use_frameworks!
pod 'IconButton'

Author

Luigi Aiello, [email protected]

License

IconButton is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "IconButton",
    "version": "0.1.0",
    "summary": "A custom iOS button with icon",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/mo3bius/IconButton",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Luigi Aiello": "[email protected]"
    },
    "source": {
        "git": "https://github.com/mo3bius/IconButton.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "9.0"
    },
    "swift_version": "4.2",
    "source_files": "IconButton/Classes/**/*"
}

Pin It on Pinterest

Share This