You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- New `requestDidStart` and `requestDidStop` APIs based on `requestIDs` to replace the increment and decrement activity count APIs.
27
+
- Added by [Christian Noon](https://github.com/cnoon) in Pull Request [#49](https://github.com/Alamofire/AlamofireNetworkActivityIndicator/pull/49).
28
+
29
+
#### Updated
30
+
- Project to use Swift 5 only and require Alamofire 5.0.0-beta.4+ as a dependency.
31
+
- Updated by [Christian Noon](https://github.com/cnoon) in Pull Request [#48](https://github.com/Alamofire/AlamofireNetworkActivityIndicator/pull/48).
32
+
33
+
#### Fixed
34
+
- Issue where activity count could become negative causing the network activity indicator to not display correctly.
35
+
- Fixed by [Christian Noon](https://github.com/cnoon) in regards to Issue [#38](https://github.com/Alamofire/AlamofireNetworkActivityIndicator/issues/38) in Pull Request [#49](https://github.com/Alamofire/AlamofireNetworkActivityIndicator/pull/49).
<p>Increments the number of active network requests.</p>
335
+
<p>Adds the requestID as an active request driving the activity indicator.</p>
336
336
337
-
<p>If this number was zero before incrementing, the network activity indicator will start spinning after
338
-
the <code><ahref="../Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC10startDelaySdvp">startDelay</a></code>.</p>
339
-
340
-
<p>Generally, this method should not need to be used directly.</p>
337
+
<p>This method results in a no-op if the request is already being tracked.</p>
<p>Decrements the number of active network requests.</p>
383
+
<p>Removes the requestID from the set of active requests driving the activity indicator.</p>
368
384
369
-
<p>If the number of active requests is zero after calling this method, the network activity indicator will stop
370
-
spinning after the <code><ahref="../Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC15completionDelaySdvp">completionDelay</a></code>.</p>
371
-
372
-
<p>Generally, this method should not need to be used directly.</p>
385
+
<p>This method results in a no-op if the request is not being tracked.</p>
0 commit comments