Use properties instead of ivars (#2453)

This commit is contained in:
Dmitry Serov
2022-02-22 16:04:20 +00:00
committed by GitHub
parent 95e30768c4
commit 54d1a02e92
103 changed files with 3653 additions and 3917 deletions

View File

@@ -12,16 +12,11 @@
[super mouseDown:event];
}
- (void)setWebSeeds:(NSArray*)webSeeds
{
fWebSeeds = webSeeds;
}
- (void)copy:(id)sender
{
NSIndexSet* indexes = self.selectedRowIndexes;
NSMutableArray* addresses = [NSMutableArray arrayWithCapacity:indexes.count];
[fWebSeeds enumerateObjectsAtIndexes:indexes options:0 usingBlock:^(NSDictionary* webSeed, NSUInteger idx, BOOL* stop) {
[self.webSeeds enumerateObjectsAtIndexes:indexes options:0 usingBlock:^(NSDictionary* webSeed, NSUInteger idx, BOOL* stop) {
[addresses addObject:webSeed[@"Address"]];
}];