mirror of
https://github.com/transmission/transmission.git
synced 2025-12-26 21:29:18 +00:00
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:
@@ -31,7 +31,7 @@
|
||||
NSViewAnimation * fFadeInAnimation, * fFadeOutAnimation;
|
||||
}
|
||||
|
||||
- (id) initWithLib: (tr_session *) lib forWindow: (NSWindow *) window;
|
||||
- (instancetype) initWithLib: (tr_session *) lib forWindow: (NSWindow *) window;
|
||||
|
||||
- (void) setTorrents: (NSArray *) files;
|
||||
- (void) setFile: (NSString *) file;
|
||||
|
||||
Reference in New Issue
Block a user