Revision: 29055
          http://sourceforge.net/p/bibdesk/svn/29055
Author:   hofman
Date:     2025-02-23 17:21:54 +0000 (Sun, 23 Feb 2025)
Log Message:
-----------
synthesize some group accessors

Modified Paths:
--------------
    trunk/bibdesk/BDSKCategoryGroup.m
    trunk/bibdesk/BDSKSmartGroup.m

Modified: trunk/bibdesk/BDSKCategoryGroup.m
===================================================================
--- trunk/bibdesk/BDSKCategoryGroup.m   2025-02-23 17:14:19 UTC (rev 29054)
+++ trunk/bibdesk/BDSKCategoryGroup.m   2025-02-23 17:21:54 UTC (rev 29055)
@@ -49,7 +49,8 @@
 
 @implementation BDSKCategoryGroup
 
-@dynamic key, name, empty;
+@synthesize key;
+@dynamic name, empty;
 
 // designated initializer
 - (instancetype)initWithName:(id)aName key:(NSString *)aKey {
@@ -126,10 +127,6 @@
 
 // accessors
 
-- (NSString *)key {
-    return key;
-}
-
 - (NSImage *)icon {
     static NSImage *icon = nil;
     if (icon == nil) {

Modified: trunk/bibdesk/BDSKSmartGroup.m
===================================================================
--- trunk/bibdesk/BDSKSmartGroup.m      2025-02-23 17:14:19 UTC (rev 29054)
+++ trunk/bibdesk/BDSKSmartGroup.m      2025-02-23 17:21:54 UTC (rev 29055)
@@ -48,7 +48,7 @@
 
 @implementation BDSKSmartGroup
 
-@dynamic filter;
+@synthesize filter;
 
 // super's designated initializer
 - (instancetype)initWithName:(id)aName {
@@ -167,10 +167,6 @@
     return [super count];
 }
 
-- (BDSKFilter *)filter {
-    return filter;
-}
-
 - (void)setFilter:(BDSKFilter *)newFilter {
     if (filter != newFilter) {
                [[[self undoManager] prepareWithInvocationTarget:self] 
setFilter:filter];

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to