yukiasai / Minamo

Simple coach mark library written in Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Simple coach mark library written in Swift

License:MIT License


Languages

Language:Swift 92.0%Language:Objective-C 4.3%Language:Ruby 3.7%