Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/Foundation/NSCountedSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
@class NSEnumerator;

FOUNDATION_EXPORT_CLASS
@interface NSCountedSet : NSMutableSet <NSCopying, NSFastEnumeration, NSMutableCopying, NSSecureCoding>
- (NSUInteger)countForObject:(id)anObject;
@interface NSCountedSet <ObjectType> : NSMutableSet <ObjectType>
- (NSUInteger)countForObject:(ObjectType)anObject;
@end
2 changes: 1 addition & 1 deletion include/Foundation/NSMutableArray.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
@class NSSortDescriptor;

FOUNDATION_EXPORT_CLASS
@interface NSMutableArray <ObjectType> : NSArray <NSCopying, NSFastEnumeration, NSMutableCopying, NSSecureCoding>
@interface NSMutableArray <ObjectType> : NSArray <ObjectType>
+ (instancetype)arrayWithCapacity:(NSUInteger)numItems;
- (instancetype)initWithCapacity:(NSUInteger)numItems;
- (void)addObject:(ObjectType)anObject;
Expand Down
2 changes: 1 addition & 1 deletion include/Foundation/NSMutableDictionary.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
@class NSArray<ObjectType>;

FOUNDATION_EXPORT_CLASS
@interface NSMutableDictionary <KeyType, ObjectType> : NSDictionary <NSCopying, NSFastEnumeration, NSMutableCopying, NSSecureCoding>
@interface NSMutableDictionary <KeyType, ObjectType> : NSDictionary <KeyType, ObjectType>
+ (instancetype)dictionaryWithCapacity:(NSUInteger)numItems;
- (instancetype)initWithCapacity:(NSUInteger)numItems;
+ (NSMutableDictionary*)dictionaryWithSharedKeySet:(id)keyset;
Expand Down
2 changes: 1 addition & 1 deletion include/Foundation/NSMutableIndexSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#import <Foundation/NSIndexSet.h>

FOUNDATION_EXPORT_CLASS
@interface NSMutableIndexSet : NSIndexSet <NSCopying, NSMutableCopying, NSSecureCoding>
@interface NSMutableIndexSet : NSIndexSet
- (void)addIndex:(NSUInteger)index;
- (void)addIndexes:(NSIndexSet*)indexSet;
- (void)addIndexesInRange:(NSRange)indexRange;
Expand Down
2 changes: 1 addition & 1 deletion include/Foundation/NSMutableOrderedSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
@class NSSet<ObjectType>;

FOUNDATION_EXPORT_CLASS
@interface NSMutableOrderedSet <ObjectType> : NSOrderedSet <NSCopying, NSFastEnumeration, NSMutableCopying, NSSecureCoding>
@interface NSMutableOrderedSet <ObjectType> : NSOrderedSet <ObjectType>
+(instancetype)orderedSetWithCapacity : (NSUInteger)numItems STUB_METHOD;
- (instancetype)initWithCapacity:(NSUInteger)numItems STUB_METHOD;
- (instancetype)init;
Expand Down
2 changes: 1 addition & 1 deletion include/Foundation/NSMutableSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
@class NSArray<ObjectType>;

FOUNDATION_EXPORT_CLASS
@interface NSMutableSet <ObjectType> : NSSet <NSCopying, NSFastEnumeration, NSMutableCopying, NSSecureCoding>
@interface NSMutableSet <ObjectType> : NSSet <ObjectType>
+ (instancetype)setWithCapacity:(NSUInteger)numItems;
- (instancetype)initWithCapacity:(NSUInteger)numItems;
- (void)addObject:(ObjectType)object;
Expand Down