---
title: symbolicLinkDestinationURL
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/filewrapper/symboliclinkdestinationurl
---

# symbolicLinkDestinationURL

The URL referenced by the file wrapper object, which must be a symbolic-link file wrapper.

## Declaration

```swift
var symbolicLinkDestinationURL: URL? { get }
```

## Discussion

Discussion This property may contain nil if the user modifies the symbolic link after you call read(from:options:) or init(url:options:) but before FileWrapper has read the contents of the link.  Use the immediate reading option to reduce the likelihood of that problem. Special Considerations This property raises NSInternalInconsistencyException if the file wrapper object is not a symbolic-link file wrapper.

## See Also

### Accessing File-Wrapper Information

- [fileWrappers](foundation/filewrapper/filewrappers.md)
- [addFileWrapper(_:)](foundation/filewrapper/addfilewrapper(_:).md)
- [removeFileWrapper(_:)](foundation/filewrapper/removefilewrapper(_:).md)
- [addFile(withPath:)](foundation/filewrapper/addfile(withpath:).md)
- [addRegularFile(withContents:preferredFilename:)](foundation/filewrapper/addregularfile(withcontents:preferredfilename:).md)
- [addSymbolicLink(withDestination:preferredFilename:)](foundation/filewrapper/addsymboliclink(withdestination:preferredfilename:).md)
- [keyForChildFileWrapper(_:)](foundation/filewrapper/keyforchildfilewrapper(_:).md)
- [symbolicLinkDestination()](foundation/filewrapper/symboliclinkdestination().md)
