---
title: resourcePath
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/bundle/resourcepath
---

# resourcePath

The full pathname of the bundle’s subdirectory containing resources.

## Declaration

```swift
var resourcePath: String? { get }
```

## See Also

### Related Documentation

- [bundlePath](foundation/bundle/bundlepath.md)

### Getting the standard bundle directories

- [resourceURL](foundation/bundle/resourceurl.md)
- [executableURL](foundation/bundle/executableurl.md)
- [privateFrameworksURL](foundation/bundle/privateframeworksurl.md)
- [sharedFrameworksURL](foundation/bundle/sharedframeworksurl.md)
- [builtInPlugInsURL](foundation/bundle/builtinpluginsurl.md)
- [url(forAuxiliaryExecutable:)](foundation/bundle/url(forauxiliaryexecutable:).md)
- [sharedSupportURL](foundation/bundle/sharedsupporturl.md)
- [appStoreReceiptURL](foundation/bundle/appstorereceipturl.md)
- [executablePath](foundation/bundle/executablepath.md)
- [privateFrameworksPath](foundation/bundle/privateframeworkspath.md)
- [sharedFrameworksPath](foundation/bundle/sharedframeworkspath.md)
- [builtInPlugInsPath](foundation/bundle/builtinpluginspath.md)
- [path(forAuxiliaryExecutable:)](foundation/bundle/path(forauxiliaryexecutable:).md)
- [sharedSupportPath](foundation/bundle/sharedsupportpath.md)
