Revision: 28613
http://sourceforge.net/p/bibdesk/svn/28613
Author: hofman
Date: 2024-01-15 17:16:50 +0000 (Mon, 15 Jan 2024)
Log Message:
-----------
implement property inly in NSPropertySpecifier class
Modified Paths:
--------------
trunk/bibdesk/NSObject_BDSKExtensions.m
Modified: trunk/bibdesk/NSObject_BDSKExtensions.m
===================================================================
--- trunk/bibdesk/NSObject_BDSKExtensions.m 2024-01-15 17:12:09 UTC (rev
28612)
+++ trunk/bibdesk/NSObject_BDSKExtensions.m 2024-01-15 17:16:50 UTC (rev
28613)
@@ -46,10 +46,7 @@
}
- (BOOL)isEverySpecifier {
- if ([self isKindOfClass:[NSPropertySpecifier class]] == NO)
- return NO;
- NSScriptClassDescription *containerClassDescription =
[(NSPropertySpecifier *)self containerClassDescription];
- return [[containerClassDescription toManyRelationshipKeys]
containsObject:[(NSPropertySpecifier *)self key]];
+ return NO;
}
- (void)performSelectorOnce:(SEL)aSelector withObject:(id)anArgument
afterDelay:(NSTimeInterval)delay {
@@ -58,3 +55,12 @@
}
@end
+
+@implementation NSPropertySpecifier (BDSKExtensions)
+
+- (BOOL)isEverySpecifier {
+ NSScriptClassDescription *containerClassDescription = [self
containerClassDescription];
+ return [[containerClassDescription toManyRelationshipKeys]
containsObject:[self key]];
+}
+
+@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