Revision: 29690
http://sourceforge.net/p/bibdesk/svn/29690
Author: hofman
Date: 2025-10-10 14:13:33 +0000 (Fri, 10 Oct 2025)
Log Message:
-----------
value is NSString
Modified Paths:
--------------
trunk/bibdesk/BDSKMacro.h
trunk/bibdesk/BDSKMacro.m
Modified: trunk/bibdesk/BDSKMacro.h
===================================================================
--- trunk/bibdesk/BDSKMacro.h 2025-10-10 09:34:18 UTC (rev 29689)
+++ trunk/bibdesk/BDSKMacro.h 2025-10-10 14:13:33 UTC (rev 29690)
@@ -52,9 +52,9 @@
@property (nonatomic, strong) NSString *name;
-@property (nonatomic, nullable, strong) id value;
+@property (nonatomic, nullable, strong) NSString *value;
-@property (nonatomic, nullable, copy) id bibTeXString;
+@property (nonatomic, nullable, copy) NSString *bibTeXString;
@property (nonatomic, nullable, weak, readonly) BDSKMacroResolver
*macroResolver;
Modified: trunk/bibdesk/BDSKMacro.m
===================================================================
--- trunk/bibdesk/BDSKMacro.m 2025-10-10 09:34:18 UTC (rev 29689)
+++ trunk/bibdesk/BDSKMacro.m 2025-10-10 14:13:33 UTC (rev 29690)
@@ -119,7 +119,7 @@
}
}
-- (id)value {
+- (NSString *)value {
return [macroResolver valueOfMacro:name];
}
@@ -134,7 +134,7 @@
}
}
-- (id)bibTeXString {
+- (NSString *)bibTeXString {
return [[self value] stringAsBibTeXString];
}
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