Adopting lightweight generics (#2974)

This commit is contained in:
Antoine Cœur
2022-04-30 06:51:40 +08:00
committed by GitHub
parent aafedcaae1
commit 34ec2f5aa4
42 changed files with 141 additions and 132 deletions

View File

@@ -29,14 +29,14 @@ typedef NS_ENUM(unsigned int, filePriorityMenuTag) { //
@interface FileOutlineController ()
@property(nonatomic) NSMutableArray* fFileList;
@property(nonatomic) NSMutableArray<FileListNode*>* fFileList;
@property(nonatomic) IBOutlet FileOutlineView* fOutline;
@property(nonatomic, readonly) NSMenu* menu;
- (NSUInteger)findFileNode:(FileListNode*)node
inList:(NSArray*)list
inList:(NSArray<FileListNode*>*)list
atIndexes:(NSIndexSet*)range
currentParent:(FileListNode*)currentParent
finalParent:(FileListNode**)parent;
@@ -683,7 +683,7 @@ typedef NS_ENUM(unsigned int, filePriorityMenuTag) { //
}
- (NSUInteger)findFileNode:(FileListNode*)node
inList:(NSArray*)list
inList:(NSArray<FileListNode*>*)list
atIndexes:(NSIndexSet*)indexes
currentParent:(FileListNode*)currentParent
finalParent:(FileListNode* __autoreleasing*)parent