NeatTipView allows you to display message tooltips that can be used as call to actions or informative tips.
- Allows Different tip positionings.
- Multiple animation styles.
- Smart placement for dynamic strings.
- Full NSAttributtedString support.
NeatTipView is available through CocoaPods and Carthage.
To install it, simply add the following line to your Podfile:
pod "NeatTipView"
To install it, simply add the following line to your Cartfile:
github "rootstrap/NeatTipView"
Preferences are encapsulated inside the NeatViewPreferences
struct, check the inline docs for more info about which customization points are available.
Example:
var preferences = NeatViewPreferences()
preferences.animationPreferences.appearanceAnimationType = .fromBottom
preferences.animationPreferences.disappearanceAnimationType = .toBottom
let tipView = NeatTipView(
superview: view,
centerPoint: center,
attributedString: attributedString(),
preferences: preferences,
arrowPosition: arrowPosition
)
tipView.show()
To run the example project, clone the repo, and run pod install
from the Example directory first.
NeatTipView is available under the MIT license. See the LICENSE file for more info.
NeatTipView is maintained by Rootstrap with the help of our contributors.