Post

Replies

Boosts

Views

Activity

File provider pagination
Hi! I'm really confused in how works the pagination of FileProvider, Im working with the parameter startingAtpage of the method: func enumerateItems(for observer: NSFileProviderEnumerationObserver, startingAt page: NSFileProviderPage) And creating a new NSFileProviderPage to do the next pagination with the code: var totalData = 51 let totalCountData = Data(bytes: &totalData,                      count: MemoryLayout.size(ofValue: totalData))           observer.finishEnumerating(upTo: NSFileProviderPage(rawValue: totalCountData))  My petitions are from 50 to 50 pagination. The File Provider only show 28 elements but has received 50 items and later doesnt make the pagination. Is it possible to know how it works? I didnt find nothing about it. Thanks in advance.
0
1
460
Jul ’22