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
|
@end
|
||||||
|
|
||||||
#pragma mark -
|
// MARK: -
|
||||||
#pragma mark Category: CPKeyValueCoding
|
// MARK: Category: CPKeyValueCoding
|
||||||
|
|
||||||
@implementation CPSet (CPKeyValueCoding)
|
@implementation CPSet (CPKeyValueCoding)
|
||||||
|
|
||||||
@@ -247,8 +247,8 @@
|
|||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
#pragma mark -
|
// MARK: -
|
||||||
#pragma mark Key-Value Observing Extensions
|
// MARK: Key-Value Observing Extensions
|
||||||
|
|
||||||
@implementation CPObject (CPSetKVO)
|
@implementation CPObject (CPSetKVO)
|
||||||
|
|
||||||
@@ -274,8 +274,8 @@
|
|||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
#pragma mark -
|
// MARK: -
|
||||||
#pragma mark Key-Value Observing Proxy Implementation
|
// MARK: Key-Value Observing Proxy Implementation
|
||||||
|
|
||||||
@implementation _CPKVCSet : CPMutableSet
|
@implementation _CPKVCSet : CPMutableSet
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -295,8 +295,8 @@
|
|||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
#pragma mark -
|
// MARK: -
|
||||||
#pragma mark Category: CPCopying
|
// MARK: Category: CPCopying
|
||||||
|
|
||||||
@implementation CPSet (CPCopying)
|
@implementation CPSet (CPCopying)
|
||||||
|
|
||||||
@@ -312,8 +312,8 @@
|
|||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
#pragma mark -
|
// MARK: -
|
||||||
#pragma mark Category: CPCoding
|
// MARK: Category: CPCoding
|
||||||
|
|
||||||
var CPSetObjectsKey = @"CPSetObjectsKey";
|
var CPSetObjectsKey = @"CPSetObjectsKey";
|
||||||
|
|
||||||
@@ -331,8 +331,8 @@ var CPSetObjectsKey = @"CPSetObjectsKey";
|
|||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
#pragma mark -
|
// MARK: -
|
||||||
#pragma mark Private Allocation Placeholder
|
// MARK: Private Allocation Placeholder
|
||||||
|
|
||||||
var _CPSharedPlaceholderSet = nil;
|
var _CPSharedPlaceholderSet = nil;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user