Revision: 15804
http://sourceforge.net/p/skim-app/code/15804
Author: hofman
Date: 2025-11-14 23:54:06 +0000 (Fri, 14 Nov 2025)
Log Message:
-----------
add some more lightweight generics
Modified Paths:
--------------
trunk/SKNotesDocument.h
trunk/SKTransitionInfo.h
Modified: trunk/SKNotesDocument.h
===================================================================
--- trunk/SKNotesDocument.h 2025-11-14 23:50:14 UTC (rev 15803)
+++ trunk/SKNotesDocument.h 2025-11-14 23:54:06 UTC (rev 15804)
@@ -51,7 +51,7 @@
NSArrayController *arrayController;
NSSearchField *searchField;
SKStatusBar *statusBar;
- NSDictionary *toolbarItems;
+ NSDictionary<NSString *, NSToolbarItem *> *toolbarItems;
NSArray<PDFAnnotation *> *notes;
NSArray<NSDictionary<NSString *, id> *> *unsupportedNotes;
PDFDocument *pdfDocument;
Modified: trunk/SKTransitionInfo.h
===================================================================
--- trunk/SKTransitionInfo.h 2025-11-14 23:50:14 UTC (rev 15803)
+++ trunk/SKTransitionInfo.h 2025-11-14 23:54:06 UTC (rev 15804)
@@ -54,13 +54,13 @@
- (instancetype)init NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithTransitionInfo:(SKTransitionInfo *)info;
-- (instancetype)initWithProperties:(NSDictionary *)dictionary;
+- (instancetype)initWithProperties:(NSDictionary<NSString *, id> *)dictionary;
@property (nonatomic) SKTransitionStyle style;
@property (nonatomic) CGFloat duration;
@property (nonatomic) BOOL shouldRestrict;
-@property (nonatomic, readonly) NSDictionary *properties;
+@property (nonatomic, readonly) NSDictionary<NSString *, id> *properties;
@property (nonatomic, nullable, readonly) NSString *styleName;
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