Skip to content

hihelloluigi/IconButton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IconButton

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published