Open jefflovejapan opened 8 years ago
I'm having the same issue as @jefflovejapan is having. I created the objects as advised (Session delegate and custom session), but if the moment I instantiate the Alamofire.Manager with both, I get this error: "[DVR.Session delegate]: unrecognized selector sent to instance (instance address)".
I'm trying to use a DVR
Session
with Alamofire but using it to initialize aManager
generates anunrecognized selector
exception.This conversation deals with my use case, but the advice ("Just create a session delegate, then create your custom session, and pass both in.") doesn't seem to work. Since DVR's
Session
is a subclass ofNSURLSession
I would expect that you could ask for itsdelegate
but it's breaking for some reason.