Modern Objective-C syntax (#509)

* Update enabled complier warnings

* Convert to Modern Objective-C syntax using Xcode's tool

* Convert to modern objc syntax manually, fix some PR issues

* Remove unnecessary parentheses

* Use property syntax for all custom properties

* Use property syntax for all system properties

* Fix erroneously autoreleased values

* Revert VDKQueue to old objc syntax

Co-authored-by: Mike Gelfand <mikedld@users.noreply.github.com>
Co-authored-by: Mitch Livingston <livings124@mac.com>
This commit is contained in:
Dmitry Serov
2021-08-07 14:27:56 +07:00
committed by GitHub
parent 53d49f3a81
commit af3a4d4557
101 changed files with 3504 additions and 3481 deletions

View File

@@ -45,7 +45,7 @@
IBOutlet NSPopUpButton * fGroupsButton;
}
- (id) init;
- (instancetype) init;
- (void) setFilter: (id) sender;
- (void) switchFilter: (BOOL) right;
@@ -54,7 +54,7 @@
- (void) setGroupFilter: (id) sender;
- (void) reset: (BOOL) updateUI;
- (NSArray *) searchStrings;
@property (nonatomic, readonly) NSArray *searchStrings;
- (void) focusSearchField;
- (void) setCountAll: (NSUInteger) all active: (NSUInteger) active downloading: (NSUInteger) downloading