https://habrahabr.ru/post/129557/
UIViewController согласно шаблону проектирования MVC обеспечивает взаимосвязь
| import Foundation | |
| import NetworkExtension | |
| class VPNIKEv2Setup { | |
| static let shared = VPNIKEv2Setup() | |
| let vpnManager = NEVPNManager.shared() | |
| func initVPNTunnelProviderManager() { |
| import UIKit | |
| extension UIApplication { | |
| // MARK: Public | |
| func isRunningInTestFlightEnvironment() -> Bool { | |
| if isSimulator() { | |
| return false | |
| } else { | |
| if isAppStoreReceiptSandbox() && !hasEmbeddedMobileProvision() { |
| // | |
| // NibInstantiableView.h | |
| // nik-kov.com | |
| // | |
| // Created by Nik Kov on 23.03.2018. | |
| // Copyright © 2018 Apple. All rights reserved. | |
| // | |
| #import <UIKit/UIKit.h> |
https://habrahabr.ru/post/129557/
UIViewController согласно шаблону проектирования MVC обеспечивает взаимосвязь