Skip to content

Commit 7a3058b

Browse files
authored
Fix single "Objective-C" typo in developer facing documentation (#1259)
rdar://154206938
1 parent caeef6b commit 7a3058b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Sources/SwiftDocC/Semantics/Metadata/AlternateRepresentation.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
This source file is part of the Swift.org open source project
33

4-
Copyright (c) 2024 Apple Inc. and the Swift project authors
4+
Copyright (c) 2024-2025 Apple Inc. and the Swift project authors
55
Licensed under Apache License v2.0 with Runtime Library Exception
66

77
See https://swift.org/LICENSE.txt for license information
@@ -18,7 +18,7 @@ public import Markdown
1818
///
1919
/// Whenever possible, prefer to define alternative language representations for a symbol by using in-source annotations
2020
/// such as the `@objc` and `@_objcImplementation` attributes in Swift,
21-
/// or the `NS_SWIFT_NAME` macro in Objective C.
21+
/// or the `NS_SWIFT_NAME` macro in Objective-C.
2222
///
2323
/// If your source language doesn’t have a mechanism for specifying alternate representations or if your intended alternate representation isn't compatible with those attributes,
2424
/// you can use the `@AlternateRepresentation` directive to specify another symbol that should be considered an alternate representation of the documented symbol.

Sources/docc/DocCDocumentation.docc/DocC.symbols.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
"text" : "such as the `@objc` and `@_objcImplementation` attributes in Swift,"
9494
},
9595
{
96-
"text" : "or the `NS_SWIFT_NAME` macro in Objective C."
96+
"text" : "or the `NS_SWIFT_NAME` macro in Objective-C."
9797
},
9898
{
9999
"text" : ""

0 commit comments

Comments
 (0)