Merge pull request #186 from jleal52/master
Rename StandardVPNProvider in Demo
This commit is contained in:
commit
4b790d8074
|
@ -47,7 +47,7 @@ class ViewController: UIViewController, URLSessionDataDelegate {
|
||||||
|
|
||||||
@IBOutlet var textLog: UITextView!
|
@IBOutlet var textLog: UITextView!
|
||||||
|
|
||||||
private let vpn = StandardVPNProvider(bundleIdentifier: tunnelIdentifier)
|
private let vpn = OpenVPNProvider(bundleIdentifier: tunnelIdentifier)
|
||||||
|
|
||||||
override func viewDidLoad() {
|
override func viewDidLoad() {
|
||||||
super.viewDidLoad()
|
super.viewDidLoad()
|
||||||
|
|
|
@ -44,7 +44,7 @@ class ViewController: NSViewController {
|
||||||
|
|
||||||
@IBOutlet var buttonConnection: NSButton!
|
@IBOutlet var buttonConnection: NSButton!
|
||||||
|
|
||||||
private let vpn = StandardVPNProvider(bundleIdentifier: tunnelIdentifier)
|
private let vpn = OpenVPNProvider(bundleIdentifier: tunnelIdentifier)
|
||||||
|
|
||||||
override func viewDidLoad() {
|
override func viewDidLoad() {
|
||||||
super.viewDidLoad()
|
super.viewDidLoad()
|
||||||
|
|
|
@ -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:
|
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)
|
- `MockVPNProvider` (default, useful to test on simulator)
|
||||||
- `StandardVPNProvider`
|
- `OpenVPNProvider`
|
||||||
|
|
||||||
Set `VPN.shared` to either of them at app launch time.
|
Set `VPN.shared` to either of them at app launch time.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue