Tap-Payments / goSellSDK-iOS

goSell iOS SDK
MIT License
19 stars 20 forks source link

Name conflict SessionDelegate #20

Open kushalhyperlink opened 4 years ago

kushalhyperlink commented 4 years ago

Hello Team, I am using goSellSDK-iOS wher we have SessionDelegate. I am also using Alamofire has also SessionDelegate protocol. so when I tried to extend the delegate it shows me error.

'SessionDelegate' is ambiguous for type lookup in this context

  1. Found this candidate (Alamofire.SessionDelegate)
  2. Found this candidate (goSellSDK.SessionDelegate)

could you please share your thoughts on the same?

Thanks in advance.

kushalhyperlink commented 4 years ago

Hello Team,

After some research I got to know about the solution. I have just override the SessionDelegate and create custom delegate

protocol goSellSDKDelegate : goSellSDK.SessionDelegate {

}

Thank you