Skip to content

Commit

Permalink
Added a new group Cocoa Compatability for the empty compatability
Browse files Browse the repository at this point in the history
classes like CPMutableArray

Conflicts:

	Foundation/CPAttributedString.j
	Foundation/CPSet.j
  • Loading branch information
Ross Boucher committed May 30, 2009
1 parent 5f5efff commit f6bd4dd
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Foundation/CPArray.j
Original file line number Diff line number Diff line change
Expand Up @@ -1204,6 +1204,9 @@
@end

/*!
@class CPMutableArray
@ingroup compatability
This class is just an empty subclass of CPArray.
CPArray already implements mutable methods and
this class only exists for source compatability.
Expand Down
2 changes: 1 addition & 1 deletion Foundation/CPAttributedString.j
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@
@end

/*!
@class CPMutableAttributedString
@class CPMutableAttributedString
@ingroup compatability
This class is just an empty subclass of CPAttributedString.
Expand Down
3 changes: 3 additions & 0 deletions Foundation/CPDictionary.j
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,9 @@
@end

/*!
@class CPMutableDictionary
@ingroup compatability
This class is just an empty subclass of CPDictionary.
CPDictionary already implements mutable methods and
this class only exists for source compatability.
Expand Down
3 changes: 3 additions & 0 deletions Foundation/CPIndexSet.j
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,9 @@ var CPIndexSetCountKey = @"CPIndexSetCountKey",
@end

/*!
@class CPMutableIndexSet
@ingroup compatability
This class is an empty of subclass of CPIndexSet.
CPIndexSet already implements mutable methods, and
this class only exists for source compatability.
Expand Down
9 changes: 9 additions & 0 deletions Foundation/CPSet.j
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,15 @@ var CPSetObjectsKey = @"CPSetObjectsKey";

@end

/*!
@class CPMutableSet
@ingroup compatability
This class is just an empty subclass of CPSet.
CPSet already implements mutable methods and
this class only exists for source compatability.
*/

@implementation CPMutableSet : CPSet
@end

1 change: 1 addition & 0 deletions Foundation/Foundation.j
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,5 @@
@defgroup appkit AppKit
@defgroup foundation Foundation
@defgroup compatability Cocoa Compatability
*/

0 comments on commit f6bd4dd

Please sign in to comment.