diff --git a/AlamofireNetworkActivityIndicator.podspec b/AlamofireNetworkActivityIndicator.podspec index 524661e..a81de48 100644 --- a/AlamofireNetworkActivityIndicator.podspec +++ b/AlamofireNetworkActivityIndicator.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'AlamofireNetworkActivityIndicator' - s.version = '2.4.0' + s.version = '3.0.0-beta.1' s.license = 'MIT' s.summary = 'Controls the visibility of the network activity indicator on iOS using Alamofire' s.homepage = 'https://github.com/Alamofire/AlamofireNetworkActivityIndicator' diff --git a/CHANGELOG.md b/CHANGELOG.md index fa5c32e..565dfaa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ All notable changes to this project will be documented in this file. `AlamofireNetworkActivityIndicator` adheres to [Semantic Versioning](http://semver.org/). +#### 3.x Releases +- `3.0.0` Betas - [3.0.0-beta.1](#300-beta1) + #### 2.x Releases - `2.4.x` Releases - [2.4.0](#240) - `2.3.x` Releases - [2.3.0](#230) @@ -15,6 +18,24 @@ All notable changes to this project will be documented in this file. --- +## [3.0.0-beta.1](https://github.com/Alamofire/AlamofireNetworkActivityIndicator/releases/tag/3.0.0-beta.1) +Released on 2019-04-10. All issues associated with this milestone can be found using this +[filter](https://github.com/Alamofire/AlamofireNetworkActivityIndicator/milestone/11?closed=1). + +#### Added +- New `requestDidStart` and `requestDidStop` APIs based on `requestIDs` to replace the increment and decrement activity count APIs. + - Added by [Christian Noon](https://github.com/cnoon) in Pull Request [#49](https://github.com/Alamofire/AlamofireNetworkActivityIndicator/pull/49). + +#### Updated +- Project to use Swift 5 only and require Alamofire 5.0.0-beta.4+ as a dependency. + - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request [#48](https://github.com/Alamofire/AlamofireNetworkActivityIndicator/pull/48). + +#### Fixed +- Issue where activity count could become negative causing the network activity indicator to not display correctly. + - 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). + +--- + ## [2.4.0](https://github.com/Alamofire/AlamofireNetworkActivityIndicator/releases/tag/2.4.0) Released on 2019-04-06. All issues associated with this milestone can be found using this [filter](https://github.com/Alamofire/AlamofireNetworkActivityIndicator/milestone/10?closed=1). @@ -132,7 +153,7 @@ Released on 2016-09-11. All issues associated with this milestone can be found u - Updated by [Christian Noon](https://github.com/cnoon). - The podspec version to 2.0.0 and bumped deployment target and dependency. - Updated by [Christian Noon](https://github.com/cnoon). -- Project settings by running Swift 3 conversion tool and setting +- Project settings by running Swift 3 conversion tool and setting ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES to YES. - Updated by [Christian Noon](https://github.com/cnoon). - The travis-ci yaml file to build against Xcode 8 osx_image. diff --git a/Source/Info.plist b/Source/Info.plist index b6cbd28..384dbf2 100644 --- a/Source/Info.plist +++ b/Source/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 2.4.0 + 3.0.0-beta.1 CFBundleSignature ???? CFBundleVersion diff --git a/docs/Classes.html b/docs/Classes.html index 1542c87..73f623a 100644 --- a/docs/Classes.html +++ b/docs/Classes.html @@ -128,7 +128,7 @@

Declaration

diff --git a/docs/Classes/NetworkActivityIndicatorManager.html b/docs/Classes/NetworkActivityIndicatorManager.html index 1dc07e8..b248364 100644 --- a/docs/Classes/NetworkActivityIndicatorManager.html +++ b/docs/Classes/NetworkActivityIndicatorManager.html @@ -312,19 +312,19 @@

Declaration

- - - -

Activity Count

+
+ + +

Request Tracking

diff --git a/docs/docsets/AlamofireNetworkActivityIndicator.docset/Contents/Resources/Documents/Classes.html b/docs/docsets/AlamofireNetworkActivityIndicator.docset/Contents/Resources/Documents/Classes.html index 1542c87..73f623a 100644 --- a/docs/docsets/AlamofireNetworkActivityIndicator.docset/Contents/Resources/Documents/Classes.html +++ b/docs/docsets/AlamofireNetworkActivityIndicator.docset/Contents/Resources/Documents/Classes.html @@ -128,7 +128,7 @@

Declaration

diff --git a/docs/docsets/AlamofireNetworkActivityIndicator.docset/Contents/Resources/Documents/Classes/NetworkActivityIndicatorManager.html b/docs/docsets/AlamofireNetworkActivityIndicator.docset/Contents/Resources/Documents/Classes/NetworkActivityIndicatorManager.html index 1dc07e8..b248364 100644 --- a/docs/docsets/AlamofireNetworkActivityIndicator.docset/Contents/Resources/Documents/Classes/NetworkActivityIndicatorManager.html +++ b/docs/docsets/AlamofireNetworkActivityIndicator.docset/Contents/Resources/Documents/Classes/NetworkActivityIndicatorManager.html @@ -312,19 +312,19 @@

Declaration

- - - -

Activity Count

+
+ + +

Request Tracking

diff --git a/docs/docsets/AlamofireNetworkActivityIndicator.docset/Contents/Resources/Documents/badge.svg b/docs/docsets/AlamofireNetworkActivityIndicator.docset/Contents/Resources/Documents/badge.svg index a096fec..afb5796 100644 --- a/docs/docsets/AlamofireNetworkActivityIndicator.docset/Contents/Resources/Documents/badge.svg +++ b/docs/docsets/AlamofireNetworkActivityIndicator.docset/Contents/Resources/Documents/badge.svg @@ -1,15 +1,15 @@ - + - + - - + + @@ -18,11 +18,11 @@ documentation - - 100% + + 90% - - 100% + + 90% diff --git a/docs/docsets/AlamofireNetworkActivityIndicator.docset/Contents/Resources/Documents/index.html b/docs/docsets/AlamofireNetworkActivityIndicator.docset/Contents/Resources/Documents/index.html index 6e450aa..f5d5289 100644 --- a/docs/docsets/AlamofireNetworkActivityIndicator.docset/Contents/Resources/Documents/index.html +++ b/docs/docsets/AlamofireNetworkActivityIndicator.docset/Contents/Resources/Documents/index.html @@ -234,7 +234,7 @@

License

diff --git a/docs/docsets/AlamofireNetworkActivityIndicator.docset/Contents/Resources/Documents/search.json b/docs/docsets/AlamofireNetworkActivityIndicator.docset/Contents/Resources/Documents/search.json index 89184bf..6155513 100644 --- a/docs/docsets/AlamofireNetworkActivityIndicator.docset/Contents/Resources/Documents/search.json +++ b/docs/docsets/AlamofireNetworkActivityIndicator.docset/Contents/Resources/Documents/search.json @@ -1 +1 @@ -{"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC6sharedACvpZ":{"name":"shared","abstract":"

The shared network activity indicator manager for the system.

","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC9isEnabledSbvp":{"name":"isEnabled","abstract":"

A boolean value indicating whether the manager is enabled. Defaults to false.

","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC02isbcD7VisibleSbvp":{"name":"isNetworkActivityIndicatorVisible","abstract":"

A boolean value indicating whether the network activity indicator is currently visible.

","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC07networkcD17VisibilityChangedySbcSgvp":{"name":"networkActivityIndicatorVisibilityChanged","abstract":"

A closure executed when the network activity indicator visibility changes.

","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC10startDelaySdvp":{"name":"startDelay","abstract":"

A time interval indicating the minimum duration of networking activity that should occur before the activity","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC15completionDelaySdvp":{"name":"completionDelay","abstract":"

A time interval indicating the duration of time that no networking activity should be observed before dismissing","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerCfd":{"name":"deinit","abstract":"

Undocumented

","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC09incrementC5CountyyF":{"name":"incrementActivityCount()","abstract":"

Increments the number of active network requests.

","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC09decrementC5CountyyF":{"name":"decrementActivityCount()","abstract":"

Decrements the number of active network requests.

","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html":{"name":"NetworkActivityIndicatorManager","abstract":"

The NetworkActivityIndicatorManager manages the state of the network activity indicator in the status bar. When"},"Classes.html":{"name":"Classes","abstract":"

The following classes are available globally.

"}} \ No newline at end of file +{"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC6sharedACvpZ":{"name":"shared","abstract":"

The shared network activity indicator manager for the system.

","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC9isEnabledSbvp":{"name":"isEnabled","abstract":"

A boolean value indicating whether the manager is enabled. Defaults to false.

","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC02isbcD7VisibleSbvp":{"name":"isNetworkActivityIndicatorVisible","abstract":"

A boolean value indicating whether the network activity indicator is currently visible.

","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC07networkcD17VisibilityChangedySbcSgvp":{"name":"networkActivityIndicatorVisibilityChanged","abstract":"

A closure executed when the network activity indicator visibility changes.

","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC10startDelaySdvp":{"name":"startDelay","abstract":"

A time interval indicating the minimum duration of networking activity that should occur before the activity","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC15completionDelaySdvp":{"name":"completionDelay","abstract":"

A time interval indicating the duration of time that no networking activity should be observed before dismissing","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerCfd":{"name":"deinit","abstract":"

Undocumented

","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC15requestDidStart0F2IDySS_tF":{"name":"requestDidStart(requestID:)","abstract":"

Adds the requestID as an active request driving the activity indicator.

","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC14requestDidStop0F2IDySS_tF":{"name":"requestDidStop(requestID:)","abstract":"

Removes the requestID from the set of active requests driving the activity indicator.

","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html":{"name":"NetworkActivityIndicatorManager","abstract":"

The NetworkActivityIndicatorManager manages the state of the network activity indicator in the status bar. When"},"Classes.html":{"name":"Classes","abstract":"

The following classes are available globally.

"}} \ No newline at end of file diff --git a/docs/docsets/AlamofireNetworkActivityIndicator.docset/Contents/Resources/Documents/undocumented.json b/docs/docsets/AlamofireNetworkActivityIndicator.docset/Contents/Resources/Documents/undocumented.json index 7c6f41f..eae245b 100644 --- a/docs/docsets/AlamofireNetworkActivityIndicator.docset/Contents/Resources/Documents/undocumented.json +++ b/docs/docsets/AlamofireNetworkActivityIndicator.docset/Contents/Resources/Documents/undocumented.json @@ -1,6 +1,12 @@ { "warnings": [ - + { + "file": "/Users/cnoon/Programming/GitHub/Alamofire/AlamofireNetworkActivityIndicator/Source/NetworkActivityIndicatorManager.swift", + "line": 122, + "symbol": "NetworkActivityIndicatorManager.deinit", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + } ], - "source_directory": "/Users/jshier/Desktop/Code/AlamofireNetworkActivityIndicator" + "source_directory": "/Users/cnoon/Programming/GitHub/Alamofire/AlamofireNetworkActivityIndicator" } \ No newline at end of file diff --git a/docs/docsets/AlamofireNetworkActivityIndicator.docset/Contents/Resources/docSet.dsidx b/docs/docsets/AlamofireNetworkActivityIndicator.docset/Contents/Resources/docSet.dsidx index 56885b6..180d74e 100644 Binary files a/docs/docsets/AlamofireNetworkActivityIndicator.docset/Contents/Resources/docSet.dsidx and b/docs/docsets/AlamofireNetworkActivityIndicator.docset/Contents/Resources/docSet.dsidx differ diff --git a/docs/docsets/AlamofireNetworkActivityIndicator.tgz b/docs/docsets/AlamofireNetworkActivityIndicator.tgz index 6df0a34..6154e8d 100644 Binary files a/docs/docsets/AlamofireNetworkActivityIndicator.tgz and b/docs/docsets/AlamofireNetworkActivityIndicator.tgz differ diff --git a/docs/docsets/AlamofireNetworkActivityIndicator.xml b/docs/docsets/AlamofireNetworkActivityIndicator.xml index 6a14db9..a28e44a 100644 --- a/docs/docsets/AlamofireNetworkActivityIndicator.xml +++ b/docs/docsets/AlamofireNetworkActivityIndicator.xml @@ -1 +1 @@ -2.4.0https://alamofire.github.io/AlamofireNetworkActivityIndicator/docsets/AlamofireNetworkActivityIndicator.tgz +3.0.0-beta.1https://alamofire.github.io/AlamofireNetworkActivityIndicator/docsets/AlamofireNetworkActivityIndicator.tgz diff --git a/docs/index.html b/docs/index.html index 6e450aa..f5d5289 100644 --- a/docs/index.html +++ b/docs/index.html @@ -234,7 +234,7 @@

License

diff --git a/docs/search.json b/docs/search.json index 89184bf..6155513 100644 --- a/docs/search.json +++ b/docs/search.json @@ -1 +1 @@ -{"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC6sharedACvpZ":{"name":"shared","abstract":"

The shared network activity indicator manager for the system.

","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC9isEnabledSbvp":{"name":"isEnabled","abstract":"

A boolean value indicating whether the manager is enabled. Defaults to false.

","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC02isbcD7VisibleSbvp":{"name":"isNetworkActivityIndicatorVisible","abstract":"

A boolean value indicating whether the network activity indicator is currently visible.

","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC07networkcD17VisibilityChangedySbcSgvp":{"name":"networkActivityIndicatorVisibilityChanged","abstract":"

A closure executed when the network activity indicator visibility changes.

","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC10startDelaySdvp":{"name":"startDelay","abstract":"

A time interval indicating the minimum duration of networking activity that should occur before the activity","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC15completionDelaySdvp":{"name":"completionDelay","abstract":"

A time interval indicating the duration of time that no networking activity should be observed before dismissing","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerCfd":{"name":"deinit","abstract":"

Undocumented

","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC09incrementC5CountyyF":{"name":"incrementActivityCount()","abstract":"

Increments the number of active network requests.

","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC09decrementC5CountyyF":{"name":"decrementActivityCount()","abstract":"

Decrements the number of active network requests.

","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html":{"name":"NetworkActivityIndicatorManager","abstract":"

The NetworkActivityIndicatorManager manages the state of the network activity indicator in the status bar. When"},"Classes.html":{"name":"Classes","abstract":"

The following classes are available globally.

"}} \ No newline at end of file +{"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC6sharedACvpZ":{"name":"shared","abstract":"

The shared network activity indicator manager for the system.

","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC9isEnabledSbvp":{"name":"isEnabled","abstract":"

A boolean value indicating whether the manager is enabled. Defaults to false.

","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC02isbcD7VisibleSbvp":{"name":"isNetworkActivityIndicatorVisible","abstract":"

A boolean value indicating whether the network activity indicator is currently visible.

","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC07networkcD17VisibilityChangedySbcSgvp":{"name":"networkActivityIndicatorVisibilityChanged","abstract":"

A closure executed when the network activity indicator visibility changes.

","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC10startDelaySdvp":{"name":"startDelay","abstract":"

A time interval indicating the minimum duration of networking activity that should occur before the activity","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC15completionDelaySdvp":{"name":"completionDelay","abstract":"

A time interval indicating the duration of time that no networking activity should be observed before dismissing","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerCfd":{"name":"deinit","abstract":"

Undocumented

","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC15requestDidStart0F2IDySS_tF":{"name":"requestDidStart(requestID:)","abstract":"

Adds the requestID as an active request driving the activity indicator.

","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html#/s:33AlamofireNetworkActivityIndicator0bcD7ManagerC14requestDidStop0F2IDySS_tF":{"name":"requestDidStop(requestID:)","abstract":"

Removes the requestID from the set of active requests driving the activity indicator.

","parent_name":"NetworkActivityIndicatorManager"},"Classes/NetworkActivityIndicatorManager.html":{"name":"NetworkActivityIndicatorManager","abstract":"

The NetworkActivityIndicatorManager manages the state of the network activity indicator in the status bar. When"},"Classes.html":{"name":"Classes","abstract":"

The following classes are available globally.

"}} \ No newline at end of file diff --git a/docs/undocumented.json b/docs/undocumented.json index cd3f849..8c088bb 100644 --- a/docs/undocumented.json +++ b/docs/undocumented.json @@ -1,12 +1,12 @@ { "warnings": [ { - "file": "/Users/jshier/Desktop/Code/AlamofireNetworkActivityIndicator/Source/NetworkActivityIndicatorManager.swift", + "file": "/Users/cnoon/Programming/GitHub/Alamofire/AlamofireNetworkActivityIndicator/Source/NetworkActivityIndicatorManager.swift", "line": 120, "symbol": "NetworkActivityIndicatorManager.deinit", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" } ], - "source_directory": "/Users/jshier/Desktop/Code/AlamofireNetworkActivityIndicator" + "source_directory": "/Users/cnoon/Programming/GitHub/Alamofire/AlamofireNetworkActivityIndicator" } \ No newline at end of file