static let didReceiveResponseSelector : Selector = #selector((NSURLConnectionDataDelegate.connection(_:didReceive:)) as (NSURLConnectionDataDelegate) ->(NSURLConnection,URLResponse) ->())
이 코드는 반환 오류 :모호한 사용
Ambiguous use of 'connection(_:didReceive:)'
내가 GitHub의에 애플의 공식 진화 스레드에 언급, 나는 구문을 존중하지만 아니다 작업 :
Referencing the Objective-C selector of a method
불행하게도,'as' 주조로 명확하게하는 것은 프로토콜에 선언 된 방법이 작동하지 않습니다. [this thread] (http://stackoverflow.com/q/39221563/6541007)를 확인하십시오. – OOPer