---
title: results
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsmetadataqueryresultgroup/results
---

# results

An array containing the result group’s result objects.

## Declaration

```swift
var results: [Any] { get }
```

## Discussion

Discussion The results array is a proxy object that is primarily intended for use with Cocoa bindings. While it is possible to copy the proxy array to get a “snapshot” of the complete current query results, it is generally not recommended due to performance and memory issues. To access individual result array elements you should instead use the resultCount property and the result(at:) method.

## See Also

### Getting Query Results

- [attribute](foundation/nsmetadataqueryresultgroup/attribute.md)
- [value](foundation/nsmetadataqueryresultgroup/value.md)
- [resultCount](foundation/nsmetadataqueryresultgroup/resultcount.md)
- [result(at:)](foundation/nsmetadataqueryresultgroup/result(at:).md)
- [subgroups](foundation/nsmetadataqueryresultgroup/subgroups.md)
