Revision: 16047
          http://sourceforge.net/p/skim-app/code/16047
Author:   hofman
Date:     2026-02-08 16:44:49 +0000 (Sun, 08 Feb 2026)
Log Message:
-----------
use NSAttributedStringKey

Modified Paths:
--------------
    trunk/SKTemplateParser.h
    trunk/SKTemplateTag.h

Modified: trunk/SKTemplateParser.h
===================================================================
--- trunk/SKTemplateParser.h    2026-02-08 16:38:43 UTC (rev 16046)
+++ trunk/SKTemplateParser.h    2026-02-08 16:44:49 UTC (rev 16047)
@@ -59,7 +59,7 @@
 - (BOOL)isNotEmpty;
 
 - (NSString *)templateStringValue;
-- (NSAttributedString 
*)templateAttributedStringValueWithAttributes:(NSDictionary<NSString *, id> 
*)attributes;
+- (NSAttributedString 
*)templateAttributedStringValueWithAttributes:(NSDictionary<NSAttributedStringKey,
 id> *)attributes;
 
 @end
 

Modified: trunk/SKTemplateTag.h
===================================================================
--- trunk/SKTemplateTag.h       2026-02-08 16:38:43 UTC (rev 16046)
+++ trunk/SKTemplateTag.h       2026-02-08 16:44:49 UTC (rev 16047)
@@ -83,14 +83,14 @@
 #pragma mark -
 
 @interface SKRichValueTemplateTag : SKValueTemplateTag {
-    NSDictionary<NSString *, id> *attributes;
+    NSDictionary<NSAttributedStringKey, id> *attributes;
     SKAttributeTemplate *linkTemplate;
 }
 
-- (instancetype)initWithKeyPath:(NSString *)aKeyPath 
attributes:(NSDictionary<NSString *, id> *)anAttributes 
NS_DESIGNATED_INITIALIZER;
+- (instancetype)initWithKeyPath:(NSString *)aKeyPath 
attributes:(NSDictionary<NSAttributedStringKey, id> *)anAttributes 
NS_DESIGNATED_INITIALIZER;
 - (instancetype)initWithKeyPath:(NSString *)aKeyPath NS_UNAVAILABLE;
 
-@property (nonatomic, readonly) NSDictionary<NSString *, id> *attributes;
+@property (nonatomic, readonly) NSDictionary<NSAttributedStringKey, id> 
*attributes;
 @property (nonatomic, nullable, readonly) SKAttributeTemplate *linkTemplate;
 
 @end

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



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to