Revision: 29872
http://sourceforge.net/p/bibdesk/svn/29872
Author: hofman
Date: 2025-11-22 15:22:41 +0000 (Sat, 22 Nov 2025)
Log Message:
-----------
add some more lightweight generics
Modified Paths:
--------------
trunk/bibdesk/BDSKDownloadManager.h
Modified: trunk/bibdesk/BDSKDownloadManager.h
===================================================================
--- trunk/bibdesk/BDSKDownloadManager.h 2025-11-22 10:40:09 UTC (rev 29871)
+++ trunk/bibdesk/BDSKDownloadManager.h 2025-11-22 15:22:41 UTC (rev 29872)
@@ -42,10 +42,12 @@
extern NSNotificationName const BDSKDownloadsDidChangeNotification;
+@class BDSKWebDownload;
+
@protocol WebDownloadDelegate, WKDownloadDelegate, BDSKDownloadDelegate;
@interface BDSKDownloadManager : NSObject {
- NSMutableArray *downloads;
+ NSMutableArray<BDSKWebDownload *> *downloads;
id<WebDownloadDelegate> webDownloadDelegate;
id<WKDownloadDelegate> wkDownloadDelegate;
id<BDSKDownloadDelegate> bdskDownloadDelegate;
@@ -53,7 +55,7 @@
@property (class, nonatomic, readonly) BDSKDownloadManager *sharedManager;
-@property (nonatomic) NSArray *downloads;
+@property (nonatomic) NSArray<BDSKWebDownload *> *downloads;
@property (nonatomic, readonly) id<WebDownloadDelegate> webDownloadDelegate;
@property (nonatomic, readonly) id<WKDownloadDelegate> wkDownloadDelegate;
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