diff --git a/README.md b/README.md index 70d2827..1025b34 100644 --- a/README.md +++ b/README.md @@ -164,8 +164,6 @@ This subspec includes convenient classes to control the VPN tunnel from your app - `MockVPNProvider` (default, useful to test on simulator) - `OpenVPNProvider` -Set `VPN.shared` to either of them at app launch time. - ### Protocols/OpenVPN Here you will find the low-level entities on top of which an OpenVPN connection is established. Code is mixed Swift and Obj-C, most of it is not exposed to consumers. The module depends on OpenSSL. diff --git a/TunnelKit/Sources/Manager/VPN.swift b/TunnelKit/Sources/Manager/VPN.swift index d3120ef..15ae8ab 100644 --- a/TunnelKit/Sources/Manager/VPN.swift +++ b/TunnelKit/Sources/Manager/VPN.swift @@ -36,7 +36,4 @@ public class VPN { /// The VPN profile did (re)install. public static let didReinstall = Notification.Name("VPNDidReinstall") - - /// A singleton `VPNProvider` instance (default is a `MockVPNProvider`). Make sure to set this on app launch. - public static var shared: VPNProvider = MockVPNProvider() }