cloudant / swift-cloudant

A Swift Lang client for Cloudant and CouchDB
Apache License 2.0
42 stars 20 forks source link

ViewQueryOperation doc is wrong #166

Closed ricellis closed 2 years ago

ricellis commented 7 years ago

Please include the following information in your ticket.

The example sets the row and completion handlers, but those are now part of the init:

https://github.com/cloudant/swift-cloudant/blob/master/Source/SwiftCloudant/Operations/Views/QueryViewOperation.swift#L31

Further the client.add(view) needs to be corrected to client.add(operation: view): https://github.com/cloudant/swift-cloudant/blob/master/Source/SwiftCloudant/Operations/Views/QueryViewOperation.swift#L48

ricellis commented 2 years ago

This library is now end-of-life and this issue won't be fixed. This issue has been tagged EOL in case any forks want to import it.