VPNManager icon indicating copy to clipboard operation
VPNManager copied to clipboard

delegate is inaccessible due to internal protection level

Open anonrig opened this issue 5 years ago • 5 comments

Hey @barbayrak

I'm having an issue while defining a delegate for the VPNManager.

let manager = VPNManager.shared
manager.delegate = self
Screen Shot 2019-07-23 at 12 18 09 AM

anonrig avatar Jul 22 '19 21:07 anonrig

You need to make the delegate attribute inside VPNManager to public and VPNManagerDelegate protocol should be public also.

anonrig avatar Jul 22 '19 21:07 anonrig

You need to make the delegate attribute inside VPNManager to public and VPNManagerDelegate protocol should be public also.

Did you fix it ? Can you share ?

FIRAT-URASLI avatar Jul 25 '19 10:07 FIRAT-URASLI

I've fixed it, and also found several errors. Will open a pull request probably tomorrow.

anonrig avatar Jul 25 '19 13:07 anonrig

@FIRAT-URASLI https://github.com/anonrig/VPNManager

anonrig avatar Jul 26 '19 11:07 anonrig

@anonrig you can create a pull request if you want or i can change and commit

barbayrak avatar Jul 26 '19 11:07 barbayrak