DockProgress alternatives and similar libraries
Based on the "UI" category.
Alternatively, view DockProgress alternatives based on common mentions on social networks and blogs.
-
Animated Tab Bar
:octocat: RAMAnimatedTabBarController is a Swift UI module library for adding animation to iOS tabbar items and icons. iOS library made by @Ramotion -
JTAppleCalendar
The Unofficial Apple iOS Swift Calendar View. Swift calendar Library. iOS calendar Control. 100% Customizable -
FSPagerView
FSPagerView is an elegant Screen Slide Library. It is extremely helpful for making Banner View、Product Show、Welcome/Guide Pages、Screen/ViewController Sliders. -
Pagemenu
A paging menu controller built from other view controllers placed inside a scroll view (like Spotify, Windows Phone, Instagram) -
SwiftEntryKit
SwiftEntryKit is a presentation library for iOS. It can be used to easily display overlays within your iOS apps. -
SwipeCellKit
Swipeable UITableViewCell/UICollectionViewCell based on the stock Mail.app, implemented in Swift. -
Alerts Pickers
Advanced usage of UIAlertController and pickers based on it: Telegram, Contacts, Location, PhotoLibrary, Country, Phone Code, Currency, Date... -
SideMenu
Simple side/slide menu control for iOS, no code necessary! Lots of customization. Add it to your project in 5 minutes or less. -
Scrollable-GraphView
An adaptive scrollable graph view for iOS to visualise simple discrete datasets. Written in Swift. -
ESTabBarController
:octocat: ESTabBarController is a Swift model for customize UI, badge and adding animation to tabbar items. Support lottie! -
Material Components for iOS
[In maintenance mode] Modular and customizable Material Design UI components for iOS -
NotificationBanner
The easiest way to display highly customizable in app notification banners in iOS -
ActiveLabel
UILabel drop-in replacement supporting Hashtags (#), Mentions (@) and URLs (http://) written in Swift -
SlideMenuControllerSwift
iOS Slide Menu View based on Google+, iQON, Feedly, Ameba iOS app. It is written in pure swift. -
PopupDialog
A simple, customizable popup dialog for iOS written in Swift. Replaces UIAlertController alert style. -
TLYShyNavBar
DISCONTINUED. Unlike all those arrogant UINavigationBar, this one is shy and humble! Easily create auto-scrolling navigation bars! -
StarWars.iOS
This component implements transition animation to crumble view-controller into tiny pieces. -
KMNavigationBarTransition
A drop-in universal library helps you to manage the navigation bar styles and makes transition animations smooth between different navigation bar styles while pushing or popping a view controller for all orientations. And you don't need to write any line of code for it, it all happens automatically. -
Whisper
:mega: Whisper is a component that will make the task of display messages and in-app notifications simple. It has three different views inside -
PaperOnboarding
:octocat: PaperOnboarding is a material design UI slider. Swift UI library by @Ramotion -
CircleMenu
:octocat: ⭕️ CircleMenu is a simple, elegant UI menu with a circular layout and material design animations. Swift UI library made by @Ramotion -
RazzleDazzle
A simple keyframe-based animation framework for iOS, written in Swift. Perfect for scrolling app intros.
CodeRabbit: AI Code Reviews for Developers
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of DockProgress or a related project?
README
DockProgress
Show progress in your app's Dock icon
This package is used in production by the Gifski app. You might also like some of my other apps.
Requirements
- macOS 10.15+
- Xcode 13.4+
- Swift 5.6+
Install
Swift Package Manager
Add https://github.com/sindresorhus/DockProgress
in the “Swift Package Manager” tab in Xcode.
Latest version: 4.0.1
Carthage
github "sindresorhus/DockProgress"
CocoaPods
pod 'DockProgress'
Usage
Manually set the progress
import Cocoa
import DockProgress
foo.onUpdate = { progress in
DockProgress.progress = progress
}
Specify a Progress
instance
import Cocoa
import DockProgress
let progress = Progress(totalUnitCount: 1)
progress?.becomeCurrent(withPendingUnitCount: 1)
DockProgress.progressInstance = progress
The given Progress
instance is weakly stored. It's up to you to retain it.
Styles
It comes with four styles. PR welcome for more.
Check out the example app in the Xcode project.
You can also draw a custom progress with .custom(drawHandler: (_ rect: CGRect) -> Void)
.
Bar
[](screenshot-bar.gif)
import DockProgress
DockProgress.style = .bar
This is the default.
Squircle
import DockProgress
DockProgress.style = .squircle(color: .white.withAlphaComponent(0.5))
By default, it should perfectly fit a macOS 11 and later icon, but there is an inset
parameter if you need to make any adjustments.
Circle
[](screenshot-circle.gif)
import DockProgress
DockProgress.style = .circle(radius: 55, color: .systemBlue)
Make sure to set a radius
that matches your app icon.
Badge
[](screenshot-badge.gif)
import DockProgress
DockProgress.style = .badge(color: .systemBlue, badgeValue: { getDownloadCount() })
Large badgeValue
numbers will be written in kilo short notation, for example, 1012
→ 1k
.
Note: The badgeValue
is not meant to be used as a numeric percentage. It's for things like count of downloads, number of files being converted, etc.
Related
- Defaults - Swifty and modern UserDefaults
- Preferences - Add a preferences window to your macOS app in minutes
- KeyboardShortcuts - Add user-customizable global keyboard shortcuts to your macOS app
- LaunchAtLogin - Add "Launch at Login" functionality to your macOS app
- Regex - Swifty regular expressions
- More…