Welcome to the documentation for the AlamofireNetworkActivityIndicator CocoaPod. This library provides a convenient way to manage the network activity indicator on iOS applications built with the Alamofire networking library.


To install AlamofireNetworkActivityIndicator, follow these steps:

  1. Open your terminal.
  2. Navigate to your project directory.
  3. Run the following command to install the library:
pod 'AlamofireNetworkActivityIndicator'


After installing the pod, you need to integrate AlamofireNetworkActivityIndicator into your project.

  1. First, open your project in Xcode.
  2. Navigate to your AppDelegate.swift file.
  3. Add the following import statement at the top of the file:
import AlamofireNetworkActivityIndicator
  1. In the AppDelegate class, add the following line of code inside the didFinishLaunchingWithOptions method:
// Enable network activity indicator
NetworkActivityIndicatorManager.shared.isEnabled = true


To use the AlamofireNetworkActivityIndicator library:

  1. Import the library in your relevant view controller:
import AlamofireNetworkActivityIndicator
  1. Make sure Alamofire is integrated into your project.
  2. When making network requests using Alamofire, the network activity indicator will automatically appear in the status bar.


AlamofireNetworkActivityIndicator offers an effortless way to display the network activity indicator while using the Alamofire networking library in your iOS application. By following the installation and integration steps outlined in this documentation, you will be able to utilize this library and enhance the user experience of your app.

Thank you for choosing AlamofireNetworkActivityIndicator!