Skip to content

pffan91/VSSocialButton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VSSocialButton

VSSocialButton - button with left icon image and centered label.

Version License Platform

Demo

To run the example project, clone the repo, and run pod install from the Example directory first.

Description

Easily create social buttons in storyboards or with code. Included inspectables:

  • Network image - set social network image (Facebook, Twitter etc.);
  • Button title - set button title;
  • Button background color - set button background color;
  • Label text color - set button label text color;
  • Font size - set font size for button label;
  • Font name - set font name for button label;
  • Button corner radius - set button corner radius;
  • Should animate social network image on press - animate network image alpha on button press;
  • Should animate "slide" on press - animate "slide" on button press, please see example:

Requirements

  • iOS 8.0 and up

Installation

CocoaPods

VSSocialButton is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'VSSocialButton'

Manual

Just drag and drop VSSocialButton.swift and VSSocialButton.xib into your project and you are in.

Usage

Author

  • Vladyslav Semenchenko

Contact me

Feel free to contact me via email

or via Twitter:

  • @V_Semenchenko

License

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

About

VSSocialButton - button with left icon image and centered label.

Resources

License

Stars

Watchers

Forks

Packages

No packages published