mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 04:57:03 +00:00
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:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user