Skip to content

Commit 997cf58

Browse files
committed
Fix objc code syntax highlight
1 parent d3e269a commit 997cf58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proposals/0033-import-objc-constants.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public let HKQuantityTypeIdentifierLeanBodyMass: String
3535

3636
The aim of this proposal is to encapsulate these strings into an `enum` or a `struct` that conforms to `RawRepresentable` to represent as type `String`. Why bother? When these APIs are used, the methods that use the constants simply take `NSString` parameters where these constants are to be used, such as the methods listed below. For a novice programmer, it’s not immediately clear that these methods take “special” values defined in another file altogether:
3737

38-
```Obejctive-C
38+
```Objective-C
3939
+ (nullable HKQuantityType *)quantityTypeForIdentifier:(NSString *)identifier;
4040
+ (nullable HKCategoryType *)categoryTypeForIdentifier:(NSString *)identifier;
4141
+ (nullable HKCharacteristicType *)characteristicTypeForIdentifier:(NSString *)identifier;

0 commit comments

Comments
 (0)