Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eonist/popover-label
Popover label for iOS
https://github.com/eonist/popover-label
anim animation insta instagram instagram-followers interface ios popover popup shadow spm swift ui ux xcode
Last synced: 6 days ago
JSON representation
Popover label for iOS
- Host: GitHub
- URL: https://github.com/eonist/popover-label
- Owner: eonist
- Created: 2018-12-22T08:24:00.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-07-21T11:28:24.000Z (5 months ago)
- Last Synced: 2024-12-11T02:11:46.729Z (15 days ago)
- Topics: anim, animation, insta, instagram, instagram-followers, interface, ios, popover, popup, shadow, spm, swift, ui, ux, xcode
- Language: Swift
- Homepage:
- Size: 4.04 MB
- Stars: 46
- Watchers: 1
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![mit](https://img.shields.io/badge/License-MIT-brightgreen.svg) ![platform](https://img.shields.io/badge/Platform-iOS-blue.svg) ![Lang](https://img.shields.io/badge/Language-Swift%204.2-orange.svg)
[![codebeat badge](https://codebeat.co/badges/d719ea56-5725-4aa9-bd95-12e2b0a914ad)](https://codebeat.co/projects/github-com-eonist-popover-label-master)
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
[![Swift](https://github.com/eonist/Popover-label/actions/workflows/swift.yml/badge.svg)](https://github.com/eonist/Popover-label/actions/workflows/swift.yml)# Popover-label
### What is it
Popover label for iOS### How does it work
- [x] Dynamically scales to text content
- [x] Scale & Opacity Intro/Outro animation
- [x] Animates from arrow origin
- [x] Uses AutoLayout
- [x] Customizable through extension overridable methods
- [x] Rounded corners
- [x] Positional arrow (Top/Bottom)
- [x] Dropshadow (Stylable)
- [x] Aesthetically accurate equilateral based arrow
- [x] Optionally rounded arrow### How do I get it
- Carthage `github "eonist/Popover-label" "master"`
- Manual Open `.xcodeproj`
- CocoaPod (Coming soon)### Dependencies
- [Spatial](https://github.com/eonist/Spatial)
- [With](https://github.com/eonist/With)### Example:
```swift
let label:PopoverLabel = .init(text:"♥ 4",style:PopoverLabel.defaultStyle,alignment:.bottom)
self.view.addSubview(label)
label.hide()/*Set init state to hidden*/
label.intro()/*Begins the looping animation*/
```