AlamofireNetworkActivityIndicator alternatives and similar libraries
Based on the "Activity Indicator" category.
Alternatively, view AlamofireNetworkActivityIndicator alternatives based on common mentions on social networks and blogs.
SVProgressHUDA clean and lightweight progress HUD for your iOS and tvOS app.
MBProgressHUDMBProgressHUD + Customizations
SkeletonView☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting
NVActivityIndicatorViewA collection of awesome loading animations
NJKWebViewProgressUIWebView progress interface
M13ProgressSuiteA suite containing many tools to display progress information on iOS.
PKHUD9.1 0.0 L4 AlamofireNetworkActivityIndicator VS PKHUDA Swift based reimplementation of the Apple HUD (Volume, Ringer, Rotation,…) for iOS 8.
ProgressHUDProgressHUD is a lightweight and easy-to-use HUD for iOS.
MRProgressCollection of iOS drop-in components to visualize progress
DACircularProgressDACircularProgress is a UIView subclass with circular UIProgressView properties.
SwiftSpinnerA beautiful activity indicator and modal alert written in Swift (originally developed for my app DoodleDoodle) Using blur effects, translucency, flat and bold design - all iOS 8 latest and greatest
FillableLoadersCompletely customizable progress based loaders drawn using custom CGPaths written in Swift
TKRubberIndicatorA rubber animation pagecontrol
MKRingProgressView⭕️ Ring progress view similar to Activity app on Apple Watch
YLProgressBarUIProgressView replacement with an highly and fully customizable animated progress bar in pure Core Graphics
LiquidLoaderSpinner loader components with liquid animation
KDCircularProgressA circular progress view with gradients written in Swift
MBCircularProgressBarA circular, animatable & highly customizable progress bar from the Interface Builder (Objective-C)
FFCircularProgressViewFFCircularProgressView - An iOS 7-inspired blue circular progress view
PageControlsThis is a selection of custom page controls to replace UIPageControl, inspired by a dribbble found here: https://dribbble.com/shots/2578447-Page-Control-Indicator-Transitions-Collection
WindlessWindless makes it easy to implement invisible layout loading view.
StackViewControllerA controller that uses a UIStackView and view controller composition to display content in a list
ParticlesLoadingViewA customizable SpriteKit particles animation on the border of a view.
GradientLoadingBar⌛️A customizable animated gradient loading bar.
Skeleton💀 An easy way to create sliding CAGradientLayer animations! Works great for creating skeleton screens for loading content.
EZLoadingActivity:hatching_chick: Lightweight Swift loading activity for iOS7+
WSProgressHUDThis is a beauful hud view for iPhone & iPad
FlexibleSteppedProgressBarFlexible Stepped Progress Bar for IOS
GearRefreshControlA custom animation for the UIRefreshControl
iOS Circle Progress BariOS Circle Progress Bar
GradientProgressBar📊 A customizable gradient progress bar (UIProgressView).
RSLoadingViewAwesome loading animations using 3D engine written with Swift
BigBrotherAutomatically sets the network activity indicator for any performed request.
DSGradientProgressViewA simple animated progress bar in Swift
StepProgressViewStep-by-step progress view with labels and shapes. A good replacement for UIActivityIndicatorView and UIProgressView.
Hexacon4.4 0.0 L5 AlamofireNetworkActivityIndicator VS HexaconA fancy hexagonal layout for displaying data like your Apple Watch
RPCircularProgressCircular progress UIView subclass with UIProgressView properties
AudioIndicatorBarsAIB indicates for your app users which audio is playing. Just like the Podcasts app.
SnapTimerImplementation of Snapchat's stories timer.
IHProgressHUDA clean and lightweight progress HUD based on SVProgressHUD, converted to Swift with the help of Swiftify.
KYNavigationProgressSimple extension of UINavigationController to display progress on the UINavigationBar.
RHPlaceholderShow pleasant loading view for your users 😍
RPLoadingAnimationLoading animations :cyclone: by using Swift CALayer
LinearProgressBarA simple Linear Progress Bar for IOS (Swift 3.0), inspired by Material Design
StatusBarOverlayStatusBarOverlay will automatically show a "No Internet Connection" bar when your app loses connection, and hide it again. It supports apps which hide the status bar and The Notch
MKProgressSimple Swift Progress HUD
VHUD3.0 0.0 L4 AlamofireNetworkActivityIndicator VS VHUDSimple HUD.
JDBreaksLoadingYou can easily start up a little breaking game by one line.
Appwrite - The Open Source Firebase alternative introduces iOS support
* 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 AlamofireNetworkActivityIndicator or a related project?
Controls the visibility of the network activity indicator on iOS using Alamofire.
- [X] Automatic Management of Activity Indicator Visibility
- [X] Delay Timers to Mitigate Flicker
- [X] Can Support
URLSessionInstances Not Managed by Alamofire
- [x] Comprehensive Test Coverage
- [x] Complete Documentation
- iOS 10.0+
- Xcode 11+
- Swift 5.1+
- If you need help, use Stack Overflow. (Tag 'alamofire')
- If you'd like to ask a general question, use Stack Overflow.
- If you found a bug, open an issue.
- If you have a feature request, open an issue.
- If you want to contribute, submit a pull request.
CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate Alamofire into your Xcode project using CocoaPods, specify it in your
pod 'AlamofireNetworkActivityIndicator', '~> 3.1'
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To integrate Alamofire into your Xcode project using Carthage, specify it in your
github "Alamofire/AlamofireNetworkActivityIndicator" ~> 3.1
Swift Package Manager (requires Xcode 11)
- Select File > Swift Packages > Add Package Dependency. Enter
https://github.com/Alamofire/AlamofireNetworkActivityIndicatorin the "Choose Package Repository" dialog.
- In the next page, specify the version resolving rule as "Up to Next Major" with "3.1.0" as its earliest version.
- After Xcode checking out the source and resolving the version, you can choose the "AlamofireNetworkActivityIndicator" library and add it to your app target.
If you prefer not to use either of the aforementioned dependency managers, you can integrate AlamofireNetworkActivityIndicator into your project manually.
- Open up Terminal,
cdinto your top-level project directory, and run the following command "if" your project is not initialized as a git repository:
$ git init
- Add AlamofireNetworkActivityIndicator as a git submodule by running the following command:
$ git submodule add https://github.com/Alamofire/AlamofireNetworkActivityIndicator.git
Open the new
AlamofireNetworkActivityIndicatorfolder, and drag the
AlamofireNetworkActivityIndicator.xcodeprojinto the Project Navigator of your application's Xcode project.
It should appear nested underneath your application's blue project icon. Whether it is above or below all the other Xcode groups does not matter.
AlamofireNetworkActivityIndicator.xcodeprojin the Project Navigator and verify the deployment target matches that of your application target.
Next, select your application project in the Project Navigator (blue project icon) to navigate to the target configuration window and select the application target under the "Targets" heading in the sidebar.
In the tab bar at the top of that window, open the "General" panel.
Click on the
+button under the "Embedded Binaries" section.
You will see two different
AlamofireNetworkActivityIndicator.xcodeprojfolders each with two different versions of the
AlamofireNetworkActivityIndicator.frameworknested inside a
It does not matter which
Productsfolder you choose from.
AlamofireNetworkActivityIndicator.frameworkand add it to your project.
And that's it!
AlamofireNetworkActivityIndicator.frameworkis automagically added as a target dependency, linked framework and embedded framework in a copy files build phase which is all you need to build on the simulator and a device.
NetworkActivityIndicatorManager manages the state of the network activity indicator. To begin using it, all that is required is to enable the
shared instance in
application:didFinishLaunchingWithOptions: in your
NetworkActivityIndicatorManager.shared.isEnabled = true
By enabling the
shared manager for the system, the network activity indicator will show and hide automatically as Alamofire requests start and complete.
NetworkActivityIndicatorManager manages the currently active network request count by observing notifications emitted from Alamofire. By observing the task state changes, the
shared manager always knows how many requests are currently active and updates the visibility of the activity indicator accordingly.
It is possible to have the
URLSessioninstances not inside Alamofire. You will need to emit matching notifications from the
URLSessionDelegatematching those found in Alamofire.
In order to make the activity indicator experience for a user as pleasant as possible, there need to be start and stop delays added in to avoid flickering. There are two such delay timers built into the
The start delay is a time interval indicating the minimum duration of networking activity that should occur before the activity indicator is displayed. This helps avoid needlessly displaying the indicator for really fast network requests. The default value is
1.0 second. You can easily change the default value if needed.
NetworkActivityIndicatorManager.shared.startDelay = 1.0
The completion delay is a time interval indicating the duration of time that no networking activity should be observed before dismissing the activity indicator. This allows the activity indicator to be continuously displayed between multiple network requests. Without this delay, the activity indicator tends to flicker. The default value is
0.2 seconds. You can easily change the default value if needed.
NetworkActivityIndicatorManager.shared.completionDelay = 0.2
Why is this not in Alamofire?
In order to allow Alamofire to continue to be used in App Extensions, this logic could not be included in the Alamofire framework. In order to submit an App Extension to the App Store, it can only be linked against frameworks that specify they only use App Extension safe APIs. Since we want users to be able to use Alamofire in App Extensions, we MUST set the
Require Only App Extension Safe APIs to
true. Because of this, we cannot call non-safe App Extension APIs in the Alamofire framework. Controlling the activity indicator on iOS is done through non-safe App Extension APIs. Because of this, a separate library needed to be created.
But what about availability you say? Doesn't help in this case because availability checks still compile all the code. We could not use
#if os(iOS)either because you cannot compile out logic specifically for iOS, but not for an iOS App Extension.
Alamofire is owned and maintained by the Alamofire Software Foundation. You can follow them on Twitter at @AlamofireSF for project updates and releases.
The ASF is looking to raise money to officially stay registered as a federal non-profit organization. Registering will allow us members to gain some legal protections and also allow us to put donations to use, tax free. Donating to the ASF will enable us to:
- Pay our yearly legal fees to keep the non-profit in good status
- Pay for our mail servers to help us stay on top of all questions and security issues
- Potentially fund test servers to make it easier for us to test the edge cases
- Potentially fund developers to work on one of our projects full-time
The community adoption of the ASF libraries has been amazing. We are greatly humbled by your enthusiasm around the projects, and want to continue to do everything we can to move the needle forward. With your continued support, the ASF will be able to improve its reach and also provide better legal safety for the core members. If you use any of our libraries for work, see if your employers would be interested in donating. Any amount you can donate today to help us reach our goal would be greatly appreciated.
AlamofireNetworkActivityIndicator is released under the MIT license. See LICENSE for details.
*Note that all licence references and agreements mentioned in the AlamofireNetworkActivityIndicator README section above are relevant to that project's source code only.