Hi,
I am brand new to Swift, in fact only started looking at it in order to use swiftydropbox! Currently I don't see how to extract info from the downloadError without doing string finding jiggery pokkery!
I am coming from objC class and sending a download with completion message to my swift wrapper class which contains client.files.download()
if there is no response I am doing this:
completion(success: false, error: error?.description)
however I am finding it tricky to use this error description back in my objC class. What is best way to simply get the error code out of this or the NSUnderlyingError? I feel sure I don't need to go wading into that string and searching for key phrases?
Thanks and sorry for the noob question!