/Minamo

Simple coach mark library written in Swift

Primary LanguageSwiftMIT LicenseMIT

Minamo

Pod Version Pod Platform Pod License

Simple coach mark library written in Swift

Demo

Usage

Initialize

let rippeleView = RippleView()
rippeleView.tintColor = UIColor(red: 0.3, green: 0.7, blue: 1, alpha: 1)
rippeleView.coreImage = UIImage(named: "q")

Appear at the UIView

rippeleView.appearAtView(someView)

Appear at the UIBarButtonItem

if let buttonItem = navigationItem.rightBarButtonItems?.first {
    rippeleView.appearAtBarButtonItem(buttonItem, offset: CGPointMake(-10, 10))
}

Dismiss

rippleView.disappear()

Properties

RippleView has some properties.

  • duration
  • coreImage
  • coreHidden
  • ringScale
  • ringWidth
  • ringHidden
  • contentInset

Installation

CocoaPods

pod 'Minamo'

License

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