I'm using a framework that uses the function below, I tried converting it to swift using a website, but it was unable to do so. Any help would be greatly appreciated!
[databaseChanges enumerateDocumentChangeDetailsUsingBlock:^(METDocumentChangeDetails *documentChangeDetails, BOOL *stop) {
...
}];