Convert Xcode code landmarks from Objective-C to native Javascript

While objc `#pragma mark` works in objj files, it requires a preprocessor to handle the directive.

// MARK: is the fully functional and correct Objective-J variant.
This commit is contained in:
David Richardson
2026-07-21 11:05:11 -06:00
parent 3f63be7290
commit 98bfd87446
2 changed files with 12 additions and 12 deletions
+6 -6
View File
@@ -173,8 +173,8 @@
@end
#pragma mark -
#pragma mark Category: CPKeyValueCoding
// MARK: -
// MARK: Category: CPKeyValueCoding
@implementation CPSet (CPKeyValueCoding)
@@ -247,8 +247,8 @@
@end
#pragma mark -
#pragma mark Key-Value Observing Extensions
// MARK: -
// MARK: Key-Value Observing Extensions
@implementation CPObject (CPSetKVO)
@@ -274,8 +274,8 @@
@end
#pragma mark -
#pragma mark Key-Value Observing Proxy Implementation
// MARK: -
// MARK: Key-Value Observing Proxy Implementation
@implementation _CPKVCSet : CPMutableSet
{
+6 -6
View File
@@ -295,8 +295,8 @@
@end
#pragma mark -
#pragma mark Category: CPCopying
// MARK: -
// MARK: Category: CPCopying
@implementation CPSet (CPCopying)
@@ -312,8 +312,8 @@
@end
#pragma mark -
#pragma mark Category: CPCoding
// MARK: -
// MARK: Category: CPCoding
var CPSetObjectsKey = @"CPSetObjectsKey";
@@ -331,8 +331,8 @@ var CPSetObjectsKey = @"CPSetObjectsKey";
@end
#pragma mark -
#pragma mark Private Allocation Placeholder
// MARK: -
// MARK: Private Allocation Placeholder
var _CPSharedPlaceholderSet = nil;