<!--
{
  "availability" : [
    "iOS: 3.0.0 -",
    "iPadOS: 3.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreData",
  "identifier" : "/documentation/CoreData/NSFetchedResultsController/cacheName",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Data"
    ],
    "preciseIdentifier" : "c:objc(cs)NSFetchedResultsController(py)cacheName"
  },
  "title" : "cacheName"
}
-->

# cacheName

The name of the file used to cache section information.

```
var cacheName: String? { get }
```

## Discussion

The file itself is stored in a private directory; you can only access it by name using [`deleteCache(withName:)`](/documentation/CoreData/NSFetchedResultsController/deleteCache(withName:))

## See Also

[`init(fetchRequest:managedObjectContext:sectionNameKeyPath:cacheName:)`](/documentation/CoreData/NSFetchedResultsController/init(fetchRequest:managedObjectContext:sectionNameKeyPath:cacheName:))

Returns a fetch request controller initialized using the given arguments.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)