InfoButton
is simple and lightweight Information Button for Mac OSX implemented in Swift
- Light Mode and Fill Mode
- Animatable Popover
- Show on Hover
Drag InfoButton.swift
to your project. That is it!
To integrate InfoButton into your Xcode project using CocoaPods, specify it in your Podfile
:
use_frameworks!
pod 'InfoButton'
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.
- Make sure the height and width of InfoButton are
equal
- Press ⌥ ↩ for newline in text field of IB.(Option + Return)
- RTF Support for Popover content
- Replace
?
in button withi
in italics (If you have a suggestion please post it in issues)
InfoButton
is released under the MIT license. See LICENSE for details.
Apart from making Open source libraries I also make apps for Mac OS. Please have a look.
Lexi is a split screen app that lets you browse large JSON with ease.
It also has other featuers like Prettify JSON
, Minify JSON
Copy JSON Path
and Pin Large JSON
to narrow your visibility
Quick Note is a Mac OS app, lets you quickly add text either from Menu bar or from Shortcut.
The text floats on other windows so that they are always visible
It also supports Auto Save
and Pinned Notes