Indicate
Interactive notification pop-over (aka "Toast) modeled after the iOS AirPods and Apple Pencil indicator.
Installation
The recommended way is to use CocoaPods.
CocoaPods
To install Indicate for Swift 5.0+, include the following in your Podfile
Carthage
To integrate Indicate into your Xcode project using Carthage, specify it in your Cartfile
:
Run carthage update
to build the framework and drag the resulting Indicate.framework
into your Xcode project.
How To
After adding the framework to your project, you need to import the module
Afterwards presenting an indicator is a three-step process.
- Define the content.
- Configure the presentation.
- Present the indicator on any view.
Here's an example: