Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
I'm trying to integrate the Objective-C SDK (version 3.0.9) in a Swift 3 project. We could do it with the same project in its Swift 2.3 version.
In Swift 3 we get the following error:
nil cannot initialize specified type 'DBDownloadUrlTask?' fileprivate var fileDownloadTask: DBDownloadUrlTask? = nil
The same line compiled fine in the Swift 2.3 project.
Changing the line to:
fileprivate var fileDownloadTask: DBDownloadUrlTask<AnyObject, AnyObject>? = nil
Gets rid of the error, but not sure that is a good solution.
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!