We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98b3c5b commit 73782b8Copy full SHA for 73782b8
Source/Index.swift
@@ -380,7 +380,6 @@ public class Index {
380
if queryURL != "" {
381
requestPath += "&"
382
}
383
-
384
requestPath += "cursor=\(cursor.urlEncode())"
385
386
@@ -401,6 +400,11 @@ public class Index {
401
400
402
403
+ /// Browse all index content.
404
+ /// At the end of the block handler, call the method `next()` of the iterator object to get the next page.
405
+ /// The parameter `end` is set to true when all the index was browsed.
406
+ ///
407
+ /// :param: query The query parameters for the browse.
408
public func browse(query: Query, block: BrowseIteratorHandler) {
409
let iterator = BrowseIterator(index: self, query: query, block: block)
410
iterator.next() // first call
0 commit comments