How andreamazz/ampoptip works
AMPopTip is an iOS popover library: an app configures and shows a PopTip, which positions and draws a directional bubble, presents it with animation, and supports updates and dismissal. The README also documents text, custom UIKit views, SwiftUI views, masks, gesture callbacks, and animation customization; these capabilities are implemented through the main PopTip API. Relationships involving unsampled portions of that file are omitted rather than inferred.
Main entry points: PopTip.swift PopTip lifecycle · PopTip+Transitions.swift Entrance and exit · PopTip+Draw.swift Bubble drawing
Components 6
Popover API
- PopTip lifecycle
Source/PopTip.swift
Rendering and motion
- Bubble drawing
Source/PopTip+Draw.swift - Entrance and exit
Source/PopTip+Transitions.swift
iOS presentation
- UIKit views
- SwiftUI content
Other components
- iOS app
Connections 6
- iOS app → PopTip lifecycle: shows or updates
README.md - PopTip lifecycle → Bubble drawing: builds path
Source/PopTip.swift - PopTip lifecycle → Entrance and exit: runs animation
Source/PopTip+Transitions.swift - Entrance and exit → UIKit views: animates views
Source/PopTip+Transitions.swift - iOS app → SwiftUI content: provides content
README.md - PopTip lifecycle → SwiftUI content: hosts content
README.md