mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2024-10-06 09:12:08 +08:00
Disable empty initializer and error should be nullable
This commit is contained in:
parent
4a9ebe3e25
commit
8941e49792
@ -39,7 +39,7 @@ typedef NS_ENUM(NSInteger, OpenVPNAdapterEvent);
|
||||
*/
|
||||
- (void)openVPNAdapter:(OpenVPNAdapter *)openVPNAdapter
|
||||
configureTunnelWithNetworkSettings:(nullable NEPacketTunnelNetworkSettings *)networkSettings
|
||||
completionHandler:(void (^)(NSError *error))completionHandler
|
||||
completionHandler:(void (^)(NSError * _Nullable error))completionHandler
|
||||
NS_SWIFT_NAME(openVPNAdapter(_:configureTunnelWithNetworkSettings:completionHandler:));
|
||||
|
||||
/**
|
||||
@ -181,6 +181,8 @@ NS_SWIFT_NAME(apply(configuration:));
|
||||
*/
|
||||
- (void)disconnect;
|
||||
|
||||
- (instancetype) init NS_UNAVAILABLE;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
Loading…
Reference in New Issue
Block a user