A simple tip that shows message to a user. It able to point to the element center and adjust its side depending on an available space but it uses only top and bottom sides. It able to handle complex UI with reusable cells and views in most cases. It also has an ability to show some tips only once so you won't need to write an additional logic for that.
Clone the repo and then open
Please check official guide
github "APUtils/APTips" ~> 1.0
APTips is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'APTips', '~> 1.0'
Always show at the view's center:
let tip = Tip(message: "Example tip") TipsManager.shared.show(tip: tip, for: view, displayMode: .center)
Show once at the sender's side:
let tip = Tip(message: "Example once tip") TipsManager.shared.showOnce(tip: tip, for: sender, displayMode: .center)
See example and test projects for more details.
Any contribution is more than welcome! You can contribute through pull requests and issues on GitHub.
Anton Plebanovich, [email protected]
APTips is available under the MIT license. See the LICENSE file for more info.