Initializer is inaccessable due to 'internal' protection level

前端 未结 2 862
生来不讨喜
生来不讨喜 2021-02-02 04:36

I have some protocols

LoginStrategy

public protocol LoginStrategy {
    func login(_ viewController: UIViewController)
    func getUserI         


        
2条回答
  •  再見小時候
    2021-02-02 05:34

    If you are running in to this in code within an XCTestCase, make sure that you have added @testable import My-Awesome-App to the top of your test file.

提交回复
热议问题