I have an app in which I was using the SwiftyDropbox function
client.files.search
and now I'm upgrading to the new
client.files.searchV2
However, the results have also changed structure (to Files.MetadataV2). Where I used to get my results with the following
let match = matches[0] // Matches is the array of Files.Metadata
let fileName = match.metadata.name
let filePath = match.metadata.pathDisplay
now metadata contains none of these fields. What's the process to get them?