Revision: 24062
http://sourceforge.net/p/bibdesk/svn/24062
Author: hofman
Date: 2019-07-19 09:48:49 +0000 (Fri, 19 Jul 2019)
Log Message:
-----------
rename property to avoid using a keyword
Modified Paths:
--------------
trunk/bibdesk/BDSKFieldInfo.h
trunk/bibdesk/BDSKFieldInfo.m
trunk/bibdesk/Scripting/BibDesk.sdef
Modified: trunk/bibdesk/BDSKFieldInfo.h
===================================================================
--- trunk/bibdesk/BDSKFieldInfo.h 2019-07-19 09:46:56 UTC (rev 24061)
+++ trunk/bibdesk/BDSKFieldInfo.h 2019-07-19 09:48:49 UTC (rev 24062)
@@ -46,7 +46,7 @@
@property (nonatomic, readonly) NSString *name;
-@property (nonatomic, readonly) BOOL isDefault;
+@property (nonatomic, readonly, getter=isDefaultField) BOOL defaultField;
@property (nonatomic, readonly) NSInteger kind;
Modified: trunk/bibdesk/BDSKFieldInfo.m
===================================================================
--- trunk/bibdesk/BDSKFieldInfo.m 2019-07-19 09:46:56 UTC (rev 24061)
+++ trunk/bibdesk/BDSKFieldInfo.m 2019-07-19 09:48:49 UTC (rev 24062)
@@ -44,7 +44,7 @@
@implementation BDSKFieldInfo
@synthesize name;
-@dynamic isDefault, kind;
+@dynamic defaultField, kind;
- (id)initWithName:(NSString *)newName {
self = [super init];
@@ -76,7 +76,7 @@
return [NSString stringWithFormat:@"%@: %@",[self class], [self name]];
}
-- (BOOL)isDefault {
+- (BOOL)isDefaultField {
return [[[BDSKTypeManager sharedManager] userDefaultFieldsForType:@""]
containsObject:[self name]];
}
Modified: trunk/bibdesk/Scripting/BibDesk.sdef
===================================================================
--- trunk/bibdesk/Scripting/BibDesk.sdef 2019-07-19 09:46:56 UTC (rev
24061)
+++ trunk/bibdesk/Scripting/BibDesk.sdef 2019-07-19 09:48:49 UTC (rev
24062)
@@ -1681,7 +1681,7 @@
</property>
<property name="default" code="Dflt" type="boolean" access="r"
description="Is this a default type?">
- <cocoa key="isDefault"/>
+ <cocoa key="isDefaultField"/>
</property>
</class>
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