Skip to content

Commit

Permalink
Release 3.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
rwbutler committed Aug 1, 2019
1 parent 14e301c commit 901bf45
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 23 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.0.3] - 2019-08-01
### Changed
- Removed superfluous `canImport` around properties using `Network` framework.

## [3.0.2] - 2019-07-03
### Added
- Support for Swift Package Manager where using Xcode 11.0 beta.
Expand Down
2 changes: 1 addition & 1 deletion Connectivity.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Connectivity'
s.version = '3.0.2'
s.version = '3.0.3'
s.swift_version = '5.0'
s.summary = 'Makes Internet connectivity detection more robust by detecting Wi-Fi networks without Internet access.'
s.description = <<-DESC
Expand Down
2 changes: 0 additions & 2 deletions Connectivity/Classes/Connectivity.swift
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,11 @@ public class Connectivity: NSObject {
}
}

#if canImport(Network)
// Stores a NWPath reference - erase type information where Network framework unavailable.
private var path: Any?

// Stores a NWPathMonitor reference - erase type information where Network framework unavailable.
private var pathMonitor: Any?
#endif

/// Where polling is enabled, the interval at which connectivity checks will be performed.
public var pollingInterval: Double = 10.0
Expand Down
40 changes: 20 additions & 20 deletions Example/Pods/Target Support Files/Connectivity/Info.plist

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 901bf45

Please sign in to comment.