Revision: 29344
http://sourceforge.net/p/bibdesk/svn/29344
Author: hofman
Date: 2025-07-23 22:32:49 +0000 (Wed, 23 Jul 2025)
Log Message:
-----------
use synthesized properties
Modified Paths:
--------------
trunk/bibdesk/BibDocument_UI.m
Modified: trunk/bibdesk/BibDocument_UI.m
===================================================================
--- trunk/bibdesk/BibDocument_UI.m 2025-07-23 22:32:37 UTC (rev 29343)
+++ trunk/bibdesk/BibDocument_UI.m 2025-07-23 22:32:49 UTC (rev 29344)
@@ -111,8 +111,8 @@
NSString *string;
}
- (instancetype)initWithURL:(NSURL *)aURL string:(NSString *)aString;
-- (NSURL *)URL;
-- (NSString *)string;
+@property(nonatomic, readonly) NSURL *URL;
+@property(nonatomic, readonly) NSString *string;
@end
#pragma mark -
@@ -1864,6 +1864,8 @@
@implementation BDSKFileViewObject
+@synthesize URL, string;
+
- (instancetype)initWithURL:(NSURL *)aURL string:(NSString *)aString {
self = [super init];
if (self) {
@@ -1873,8 +1875,4 @@
return self;
}
-- (NSURL *)URL { return URL; }
-
-- (NSString *)string { return string; }
-
@end
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit