---
title: linkRenderingAttributes
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/nstextlayoutmanager/linkrenderingattributes
---

# linkRenderingAttributes

Returns the default set of attributes for rendering a link.

## Declaration

```swift
class var linkRenderingAttributes: [NSAttributedString.Key : Any] { get }
```

## Discussion

Discussion The base NSTextLayoutManager class returns with single for underlineStyle in Swift or NSUnderlineStyleAttributeName in Objective-C, and the platform link color for foregroundColor in Swift or NSForegroundColorAttributeName in Objective-C. The platform color for macOS is linkColor. Other platforms uses blueColor.

## See Also

### Adjusting rendering

- [addRenderingAttribute(_:value:for:)](uikit/nstextlayoutmanager/addrenderingattribute(_:value:for:).md)
- [enumerateRenderingAttributes(from:reverse:using:)](uikit/nstextlayoutmanager/enumeraterenderingattributes(from:reverse:using:).md)
- [renderingAttributes(forLink:at:)](uikit/nstextlayoutmanager/renderingattributes(forlink:at:).md)
- [invalidateRenderingAttributes(for:)](uikit/nstextlayoutmanager/invalidaterenderingattributes(for:).md)
- [removeRenderingAttribute(_:for:)](uikit/nstextlayoutmanager/removerenderingattribute(_:for:).md)
- [setRenderingAttributes(_:for:)](uikit/nstextlayoutmanager/setrenderingattributes(_:for:).md)
