APTips 1.0.1

APTips 1.0.1

Maintained by Anton Plebanovich.



APTips 1.0.1

  • By
  • Anton Plebanovich

APTips

Carthage compatible Version License Platform CI Status

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.

Example

Clone the repo and then open Carthage Project/APTips.xcodeproj

GIF animation

Installation

Carthage

Please check official guide

Cartfile:

github "APUtils/APTips" ~> 1.0

CocoaPods

APTips is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'APTips', '~> 1.0'

Usage

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.

Contributions

Any contribution is more than welcome! You can contribute through pull requests and issues on GitHub.

Author

Anton Plebanovich, [email protected]

License

APTips is available under the MIT license. See the LICENSE file for more info.