---
title: "subscript(dynamicMember:)"
framework: foundation
role: symbol
role_heading: Instance Subscript
path: "foundation/attributedynamiclookup/subscript(dynamicmember:)-4yyyo"
---

# subscript(dynamicMember:)

Returns the attributed string key for a specified UIKit key path.

## Declaration

```swift
subscript<T>(dynamicMember keyPath: KeyPath<AttributeScopes.UIKitAttributes, T>) -> T where T : AttributedStringKey { get }
```

## See Also

### Accessing Framework Attribute Scopes

- [subscript(dynamicMember:)](foundation/attributedynamiclookup/subscript(dynamicmember:)-3nor6.md)
- [subscript(dynamicMember:)](foundation/attributedynamiclookup/subscript(dynamicmember:)-3neai.md)
- [subscript(dynamicMember:)](foundation/attributedynamiclookup/subscript(dynamicmember:)-3q4ap.md)
- [subscript(dynamicMember:)](foundation/attributedynamiclookup/subscript(dynamicmember:)-3v1cn.md)
