Returns the attributes of an attributed string at a specified location.
- iOS 2.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
The attributed string to examine.
The location in
strat which to determine the attributes.
locmust not exceed the bounds of
The range in
strwithin to find the longest effective range of the attributes at
inmust not exceed the bounds of
NULL, upon return contains the maximal range within
inover which the exact same set of attributes apply. The returned range is clipped to
A dictionary that contains the attributes of
str at the specified location. Ownership follows the The Get Rule.