Unable to add observer for userInfo property of Progress object while downloading an attachment

While exploring couchbase DB we need to set KVO in Swift 3.0 for download progress which is Progress object. In objective c, It allows to add KVO on userInfo property of Progress class. But in swift while adding KVO we are getting compilation error.

 

As described in the discussion over github this seems an issue with Swift. Kindly please suggest how to deal with KVO over Progress object here.

Powered by WPeMatico

About

You may also like...

Comments are closed.