<!--
{
  "documentType" : "article",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/AttributeScopes/FoundationAttributes/LinkAttribute/ObjectiveCConvertibleAttributedStringKey-Implementations",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "ObjectiveCConvertibleAttributedStringKey Implementations"
}
-->

# ObjectiveCConvertibleAttributedStringKey Implementations

## Topics

### Type Aliases

[`typealias ObjectiveCValue`](/documentation/Foundation/AttributeScopes/FoundationAttributes/LinkAttribute/ObjectiveCValue)

The type of the link attribute’s value when calling it from Objective-C.

### Type Methods

[`static func objectiveCValue(for: URL) throws -> NSObject`](/documentation/Foundation/AttributeScopes/FoundationAttributes/LinkAttribute/objectiveCValue(for:))

Returns an object for a specified URL value.

[`static func value(for: NSObject) throws -> URL`](/documentation/Foundation/AttributeScopes/FoundationAttributes/LinkAttribute/value(for:))

Returns the URL value of the specified object.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)