InfoButton 0.4.0

InfoButton 0.4.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Nov 2015
SPMSupports SPM

Maintained by Kaunteya Suryawanshi.


Downloads

Total211
Week14
Month30

Installs

Apps26
Apps WeekApps This Week 2
Test Targets1
powered by Segment

GitHub

Stars55
Watchers4
Forks8
Issues1
Contributors2
Pull Requests1

Code

Files1
LOCLines of Code 107


  • By
  • Kaunteya Suryawanshi

InfoButton

InfoButton is simple and lightweight Information Button for Mac OSX implemented in Swift 2.0

Features

  • Easy to Use
  • Light Mode and Fill Mode
  • Simple and lightweight

Requirements

  • Mac OS X 10.9
  • Xcode 7

Installation

Direct

Drag InfoButton.swift to your project. That is it!

Usage

In Interface builder, drag a Custom View from Object Library and set Custom Class to InfoButton

Since InfoButton is @IBDesignable, Attribute Inspector gets updated like this.

Update Fill Mode, Animate Popover, Content and Primary Color and there you have InfoButton ready without writing a single line of code.

Notes

  • Make sure the height and width of InfoButton are equal
  • Press ⌥ ↩ for newline in text field of IB.(Option + Return)

Todo

  • RTF Support for Popover content
  • Hide after n clicks
  • Popover auto disappear

License

InfoButton is released under the MIT license. See LICENSE for details.

Bitdeli Badge