'Selector' is ambiguous for type lookup in this context
mspanadgoo opened this issue · 3 comments
mspanadgoo commented
0xTim commented
Use SwiftSoup.Selector
scinfu commented
closed due to inactivity
tristanaustin commented
I just ran into this same problem. I am trying to override the NSObject function
override open func responds(to aSelector: Selector!) -> Bool
As soon as I import SwiftSoup, I get this error. I don't want to use the SwiftSoup one, so the recommendation above won't work for me.
For anyone else looking for a solution, the 'standard module' prefix to use is ObjectiveC in this case:
override open func responds(to aSelector: ObjectiveC.Selector!) -> Bool