Merge pull request #186 from jleal52/master

Rename StandardVPNProvider in Demo
This commit is contained in:
Davide De Rosa 2020-11-22 22:38:45 +01:00 committed by GitHub
commit 4b790d8074
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ class ViewController: UIViewController, URLSessionDataDelegate {
@IBOutlet var textLog: UITextView!
private let vpn = StandardVPNProvider(bundleIdentifier: tunnelIdentifier)
private let vpn = OpenVPNProvider(bundleIdentifier: tunnelIdentifier)
override func viewDidLoad() {
super.viewDidLoad()

View File

@ -44,7 +44,7 @@ class ViewController: NSViewController {
@IBOutlet var buttonConnection: NSButton!
private let vpn = StandardVPNProvider(bundleIdentifier: tunnelIdentifier)
private let vpn = OpenVPNProvider(bundleIdentifier: tunnelIdentifier)
override func viewDidLoad() {
super.viewDidLoad()

View File

@ -158,7 +158,7 @@ Provides a layer on top of the NetworkExtension framework. Most importantly, bri
This subspec includes convenient classes to control the VPN tunnel from your app without the NetworkExtension headaches. Have a look at `VPNProvider` implementations:
- `MockVPNProvider` (default, useful to test on simulator)
- `StandardVPNProvider`
- `OpenVPNProvider`
Set `VPN.shared` to either of them at app launch time.