Fixed Location & Storage issues
This commit is contained in:
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,98 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
|
||||
// swift-module-flags: -target arm64-apple-ios12.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Reachability
|
||||
// swift-module-flags-ignorable: -enable-bare-slash-regex
|
||||
import Foundation
|
||||
@_exported import Reachability
|
||||
import Swift
|
||||
import SystemConfiguration
|
||||
import _Concurrency
|
||||
import _StringProcessing
|
||||
import _SwiftConcurrencyShims
|
||||
public enum ReachabilityError : Swift.Error {
|
||||
case failedToCreateWithAddress(Darwin.sockaddr, Swift.Int32)
|
||||
case failedToCreateWithHostname(Swift.String, Swift.Int32)
|
||||
case unableToSetCallback(Swift.Int32)
|
||||
case unableToSetDispatchQueue(Swift.Int32)
|
||||
case unableToGetFlags(Swift.Int32)
|
||||
}
|
||||
@available(*, unavailable, renamed: "Notification.Name.reachabilityChanged")
|
||||
public let ReachabilityChangedNotification: Foundation.NSNotification.Name
|
||||
extension Foundation.NSNotification.Name {
|
||||
public static let reachabilityChanged: Foundation.Notification.Name
|
||||
}
|
||||
public class Reachability {
|
||||
public typealias NetworkReachable = (Reachability.Reachability) -> ()
|
||||
public typealias NetworkUnreachable = (Reachability.Reachability) -> ()
|
||||
@available(*, unavailable, renamed: "Connection")
|
||||
public enum NetworkStatus : Swift.CustomStringConvertible {
|
||||
case notReachable, reachableViaWiFi, reachableViaWWAN
|
||||
public var description: Swift.String {
|
||||
get
|
||||
}
|
||||
public static func == (a: Reachability.Reachability.NetworkStatus, b: Reachability.Reachability.NetworkStatus) -> Swift.Bool
|
||||
public func hash(into hasher: inout Swift.Hasher)
|
||||
public var hashValue: Swift.Int {
|
||||
get
|
||||
}
|
||||
}
|
||||
public enum Connection : Swift.CustomStringConvertible {
|
||||
case unavailable, wifi, cellular
|
||||
public var description: Swift.String {
|
||||
get
|
||||
}
|
||||
@available(*, deprecated, renamed: "unavailable")
|
||||
public static let none: Reachability.Reachability.Connection
|
||||
public static func == (a: Reachability.Reachability.Connection, b: Reachability.Reachability.Connection) -> Swift.Bool
|
||||
public func hash(into hasher: inout Swift.Hasher)
|
||||
public var hashValue: Swift.Int {
|
||||
get
|
||||
}
|
||||
}
|
||||
public var whenReachable: Reachability.Reachability.NetworkReachable?
|
||||
public var whenUnreachable: Reachability.Reachability.NetworkUnreachable?
|
||||
@available(*, deprecated, renamed: "allowsCellularConnection")
|
||||
final public let reachableOnWWAN: Swift.Bool
|
||||
public var allowsCellularConnection: Swift.Bool
|
||||
public var notificationCenter: Foundation.NotificationCenter
|
||||
@available(*, deprecated, renamed: "connection.description")
|
||||
public var currentReachabilityString: Swift.String {
|
||||
get
|
||||
}
|
||||
@available(*, unavailable, renamed: "connection")
|
||||
public var currentReachabilityStatus: Reachability.Reachability.Connection {
|
||||
get
|
||||
}
|
||||
public var connection: Reachability.Reachability.Connection {
|
||||
get
|
||||
}
|
||||
required public init(reachabilityRef: SystemConfiguration.SCNetworkReachability, queueQoS: Dispatch.DispatchQoS = .default, targetQueue: Dispatch.DispatchQueue? = nil, notificationQueue: Dispatch.DispatchQueue? = .main)
|
||||
convenience public init(hostname: Swift.String, queueQoS: Dispatch.DispatchQoS = .default, targetQueue: Dispatch.DispatchQueue? = nil, notificationQueue: Dispatch.DispatchQueue? = .main) throws
|
||||
convenience public init(queueQoS: Dispatch.DispatchQoS = .default, targetQueue: Dispatch.DispatchQueue? = nil, notificationQueue: Dispatch.DispatchQueue? = .main) throws
|
||||
@objc deinit
|
||||
}
|
||||
extension Reachability.Reachability {
|
||||
public func startNotifier() throws
|
||||
public func stopNotifier()
|
||||
@available(*, deprecated, message: "Please use `connection != .none`")
|
||||
public var isReachable: Swift.Bool {
|
||||
get
|
||||
}
|
||||
@available(*, deprecated, message: "Please use `connection == .cellular`")
|
||||
public var isReachableViaWWAN: Swift.Bool {
|
||||
get
|
||||
}
|
||||
@available(*, deprecated, message: "Please use `connection == .wifi`")
|
||||
public var isReachableViaWiFi: Swift.Bool {
|
||||
get
|
||||
}
|
||||
public var description: Swift.String {
|
||||
get
|
||||
}
|
||||
}
|
||||
@available(*, unavailable, renamed: "Connection")
|
||||
extension Reachability.Reachability.NetworkStatus : Swift.Equatable {}
|
||||
@available(*, unavailable, renamed: "Connection")
|
||||
extension Reachability.Reachability.NetworkStatus : Swift.Hashable {}
|
||||
extension Reachability.Reachability.Connection : Swift.Equatable {}
|
||||
extension Reachability.Reachability.Connection : Swift.Hashable {}
|
||||
Binary file not shown.
@ -0,0 +1,98 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
|
||||
// swift-module-flags: -target arm64-apple-ios12.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Reachability
|
||||
// swift-module-flags-ignorable: -enable-bare-slash-regex
|
||||
import Foundation
|
||||
@_exported import Reachability
|
||||
import Swift
|
||||
import SystemConfiguration
|
||||
import _Concurrency
|
||||
import _StringProcessing
|
||||
import _SwiftConcurrencyShims
|
||||
public enum ReachabilityError : Swift.Error {
|
||||
case failedToCreateWithAddress(Darwin.sockaddr, Swift.Int32)
|
||||
case failedToCreateWithHostname(Swift.String, Swift.Int32)
|
||||
case unableToSetCallback(Swift.Int32)
|
||||
case unableToSetDispatchQueue(Swift.Int32)
|
||||
case unableToGetFlags(Swift.Int32)
|
||||
}
|
||||
@available(*, unavailable, renamed: "Notification.Name.reachabilityChanged")
|
||||
public let ReachabilityChangedNotification: Foundation.NSNotification.Name
|
||||
extension Foundation.NSNotification.Name {
|
||||
public static let reachabilityChanged: Foundation.Notification.Name
|
||||
}
|
||||
public class Reachability {
|
||||
public typealias NetworkReachable = (Reachability.Reachability) -> ()
|
||||
public typealias NetworkUnreachable = (Reachability.Reachability) -> ()
|
||||
@available(*, unavailable, renamed: "Connection")
|
||||
public enum NetworkStatus : Swift.CustomStringConvertible {
|
||||
case notReachable, reachableViaWiFi, reachableViaWWAN
|
||||
public var description: Swift.String {
|
||||
get
|
||||
}
|
||||
public static func == (a: Reachability.Reachability.NetworkStatus, b: Reachability.Reachability.NetworkStatus) -> Swift.Bool
|
||||
public func hash(into hasher: inout Swift.Hasher)
|
||||
public var hashValue: Swift.Int {
|
||||
get
|
||||
}
|
||||
}
|
||||
public enum Connection : Swift.CustomStringConvertible {
|
||||
case unavailable, wifi, cellular
|
||||
public var description: Swift.String {
|
||||
get
|
||||
}
|
||||
@available(*, deprecated, renamed: "unavailable")
|
||||
public static let none: Reachability.Reachability.Connection
|
||||
public static func == (a: Reachability.Reachability.Connection, b: Reachability.Reachability.Connection) -> Swift.Bool
|
||||
public func hash(into hasher: inout Swift.Hasher)
|
||||
public var hashValue: Swift.Int {
|
||||
get
|
||||
}
|
||||
}
|
||||
public var whenReachable: Reachability.Reachability.NetworkReachable?
|
||||
public var whenUnreachable: Reachability.Reachability.NetworkUnreachable?
|
||||
@available(*, deprecated, renamed: "allowsCellularConnection")
|
||||
final public let reachableOnWWAN: Swift.Bool
|
||||
public var allowsCellularConnection: Swift.Bool
|
||||
public var notificationCenter: Foundation.NotificationCenter
|
||||
@available(*, deprecated, renamed: "connection.description")
|
||||
public var currentReachabilityString: Swift.String {
|
||||
get
|
||||
}
|
||||
@available(*, unavailable, renamed: "connection")
|
||||
public var currentReachabilityStatus: Reachability.Reachability.Connection {
|
||||
get
|
||||
}
|
||||
public var connection: Reachability.Reachability.Connection {
|
||||
get
|
||||
}
|
||||
required public init(reachabilityRef: SystemConfiguration.SCNetworkReachability, queueQoS: Dispatch.DispatchQoS = .default, targetQueue: Dispatch.DispatchQueue? = nil, notificationQueue: Dispatch.DispatchQueue? = .main)
|
||||
convenience public init(hostname: Swift.String, queueQoS: Dispatch.DispatchQoS = .default, targetQueue: Dispatch.DispatchQueue? = nil, notificationQueue: Dispatch.DispatchQueue? = .main) throws
|
||||
convenience public init(queueQoS: Dispatch.DispatchQoS = .default, targetQueue: Dispatch.DispatchQueue? = nil, notificationQueue: Dispatch.DispatchQueue? = .main) throws
|
||||
@objc deinit
|
||||
}
|
||||
extension Reachability.Reachability {
|
||||
public func startNotifier() throws
|
||||
public func stopNotifier()
|
||||
@available(*, deprecated, message: "Please use `connection != .none`")
|
||||
public var isReachable: Swift.Bool {
|
||||
get
|
||||
}
|
||||
@available(*, deprecated, message: "Please use `connection == .cellular`")
|
||||
public var isReachableViaWWAN: Swift.Bool {
|
||||
get
|
||||
}
|
||||
@available(*, deprecated, message: "Please use `connection == .wifi`")
|
||||
public var isReachableViaWiFi: Swift.Bool {
|
||||
get
|
||||
}
|
||||
public var description: Swift.String {
|
||||
get
|
||||
}
|
||||
}
|
||||
@available(*, unavailable, renamed: "Connection")
|
||||
extension Reachability.Reachability.NetworkStatus : Swift.Equatable {}
|
||||
@available(*, unavailable, renamed: "Connection")
|
||||
extension Reachability.Reachability.NetworkStatus : Swift.Hashable {}
|
||||
extension Reachability.Reachability.Connection : Swift.Equatable {}
|
||||
extension Reachability.Reachability.Connection : Swift.Hashable {}
|
||||
@ -0,0 +1,11 @@
|
||||
framework module Reachability {
|
||||
umbrella header "ReachabilitySwift-umbrella.h"
|
||||
|
||||
export *
|
||||
module * { export * }
|
||||
}
|
||||
|
||||
module Reachability.Swift {
|
||||
header "Reachability-Swift.h"
|
||||
requires objc
|
||||
}
|
||||
Reference in New Issue
Block a user