Returns the value of a given attribute 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. It is a programming error for
locto specify a location outside the bounds of
The name of the attribute whose value you want to determine.
The range in
strwithin which you want 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.