Revision: 29008
          http://sourceforge.net/p/bibdesk/svn/29008
Author:   hofman
Date:     2025-02-16 22:48:28 +0000 (Sun, 16 Feb 2025)
Log Message:
-----------
Add nullability to group classes

Modified Paths:
--------------
    trunk/bibdesk/BDSKCategoryGroup.h
    trunk/bibdesk/BDSKDBLPGroupServer.h
    trunk/bibdesk/BDSKEntrezGroupServer.h
    trunk/bibdesk/BDSKExternalGroup.h
    trunk/bibdesk/BDSKGroup.h
    trunk/bibdesk/BDSKISIGroupServer.h
    trunk/bibdesk/BDSKLastImportGroup.h
    trunk/bibdesk/BDSKLibraryGroup.h
    trunk/bibdesk/BDSKParentGroup.h
    trunk/bibdesk/BDSKScriptGroup.h
    trunk/bibdesk/BDSKSearchGroup.h
    trunk/bibdesk/BDSKSharedGroup.h
    trunk/bibdesk/BDSKSmartGroup.h
    trunk/bibdesk/BDSKStaticGroup.h
    trunk/bibdesk/BDSKURLGroup.h
    trunk/bibdesk/BDSKWebGroup.h
    trunk/bibdesk/BDSKZoomGroupServer.h

Modified: trunk/bibdesk/BDSKCategoryGroup.h
===================================================================
--- trunk/bibdesk/BDSKCategoryGroup.h   2025-02-16 18:05:46 UTC (rev 29007)
+++ trunk/bibdesk/BDSKCategoryGroup.h   2025-02-16 22:48:28 UTC (rev 29008)
@@ -39,6 +39,7 @@
 #import <Cocoa/Cocoa.h>
 #import "BDSKGroup.h"
 
+NS_ASSUME_NONNULL_BEGIN
 
 @interface BDSKCategoryGroup : BDSKGroup {
        NSString *key;
@@ -51,12 +52,14 @@
        @param aName The name for the group, use nil for the "empty" group.
        @param aKey The key for the group.
 */
-- (instancetype)initWithName:(id)aName key:(NSString *)aKey;
+- (instancetype)initWithName:(nullable id)aName key:(nullable NSString *)aKey;
 
-@property (nonatomic, readonly) NSString *key;
+@property (nonatomic, nullable, readonly) NSString *key;
 
-@property (nonatomic, strong) id name;
+@property (nonatomic, nullable, strong) id name;
 
 @property (nonatomic, readonly, getter=isEmpty) BOOL empty;
 
 @end
+
+NS_ASSUME_NONNULL_END

Modified: trunk/bibdesk/BDSKDBLPGroupServer.h
===================================================================
--- trunk/bibdesk/BDSKDBLPGroupServer.h 2025-02-16 18:05:46 UTC (rev 29007)
+++ trunk/bibdesk/BDSKDBLPGroupServer.h 2025-02-16 22:48:28 UTC (rev 29008)
@@ -40,6 +40,8 @@
 #import "BDSKSearchGroup.h"
 #import "BDSKDownloader.h"
 
+NS_ASSUME_NONNULL_BEGIN
+
 @class BDSKDownload;
 
 @interface BDSKDBLPGroupServer :  NSObject <BDSKSearchGroupServer,  
BDSKDownloadDelegate>
@@ -62,3 +64,5 @@
 }
 
 @end
+
+NS_ASSUME_NONNULL_END

Modified: trunk/bibdesk/BDSKEntrezGroupServer.h
===================================================================
--- trunk/bibdesk/BDSKEntrezGroupServer.h       2025-02-16 18:05:46 UTC (rev 
29007)
+++ trunk/bibdesk/BDSKEntrezGroupServer.h       2025-02-16 22:48:28 UTC (rev 
29008)
@@ -40,6 +40,8 @@
 #import "BDSKSearchGroup.h"
 #import "BDSKDownloader.h"
 
+NS_ASSUME_NONNULL_BEGIN
+
 @class BDSKServerInfo;
 
 @interface BDSKEntrezGroupServer : NSObject <BDSKSearchGroupServer,  
BDSKDownloadDelegate>
@@ -63,8 +65,10 @@
 - (void)resetSearch;
 - (void)fetch;
 - (void)startDownloadFromURL:(NSURL *)theURL;
-- (void)setErrorMessage:(NSString *)newErrorMessage;
+- (void)setErrorMessage:(nullable NSString *)newErrorMessage;
 
-+ (NSArray *)itemsForSearchTerm:(NSString *)searchTerm usingDatabase:(NSString 
*)database allowMultiple:(BOOL)allowMultiple;
++ (nullable NSArray *)itemsForSearchTerm:(NSString *)searchTerm 
usingDatabase:(NSString *)database allowMultiple:(BOOL)allowMultiple;
 
 @end
+
+NS_ASSUME_NONNULL_END

Modified: trunk/bibdesk/BDSKExternalGroup.h
===================================================================
--- trunk/bibdesk/BDSKExternalGroup.h   2025-02-16 18:05:46 UTC (rev 29007)
+++ trunk/bibdesk/BDSKExternalGroup.h   2025-02-16 22:48:28 UTC (rev 29008)
@@ -40,6 +40,8 @@
 #import "BDSKGroup.h"
 #import "BDSKOwnerProtocol.h"
 
+NS_ASSUME_NONNULL_BEGIN
+
 extern NSString *BDSKExternalGroupPublicationsKey;
 
 @class BDSKPublicationsArray, BDSKMacroResolver;
@@ -49,7 +51,7 @@
     BDSKMacroResolver *macroResolver;
 }
 
-- (instancetype)initWithName:(NSString *)aName;
+- (instancetype)initWithName:(nullable NSString *)aName;
 
 - (void)refresh;
 
@@ -57,9 +59,9 @@
 
 // for subclasses to use
 
-- (void)setPublications:(NSArray *)newPublications;
-- (void)addPublications:(NSArray *)newPublications;
-- (void)removePublications:(NSArray *)oldPublications;
+- (void)setPublications:(nullable NSArray *)newPublications;
+- (void)addPublications:(nullable NSArray *)newPublications;
+- (void)removePublications:(nullable NSArray *)oldPublications;
 
 - (void)notifyUpdate;
 
@@ -79,6 +81,8 @@
     NSString *errorMessage;
 }
 
-@property (nonatomic, strong) NSString *errorMessage;
+@property (nonatomic, nullable, strong) NSString *errorMessage;
 
 @end
+
+NS_ASSUME_NONNULL_END

Modified: trunk/bibdesk/BDSKGroup.h
===================================================================
--- trunk/bibdesk/BDSKGroup.h   2025-02-16 18:05:46 UTC (rev 29007)
+++ trunk/bibdesk/BDSKGroup.h   2025-02-16 22:48:28 UTC (rev 29008)
@@ -38,6 +38,8 @@
 
 #import <Cocoa/Cocoa.h>
 
+NS_ASSUME_NONNULL_BEGIN
+
 typedef NS_OPTIONS(NSUInteger, BDSKGroupType) {
     BDSKLibraryGroupType = 1 << 0,
     BDSKStaticGroupType = 1 << 1,
@@ -79,7 +81,7 @@
        @discussion This is the designated initializer. 
        @param aName The name for the group.
 */
-- (instancetype)initWithName:(id)aName;
+- (instancetype)initWithName:(nullable id)aName;
 
 - (instancetype)initWithDictionary:(NSDictionary *)groupDict;
 
@@ -87,10 +89,10 @@
 
 @property (nonatomic, readonly) NSString *uniqueID;
 
-@property (nonatomic, readonly) id name;
-@property (nonatomic, readonly) NSString *label;
+@property (nonatomic, nullable, readonly) id name;
+@property (nonatomic, nullable, readonly) NSString *label;
 @property (nonatomic) NSInteger count;
-@property (nonatomic, readonly) NSImage *icon;
+@property (nonatomic, nullable, readonly) NSImage *icon;
 
 @property (nonatomic, readonly) BDSKGroupType groupType;
 
@@ -101,15 +103,15 @@
 @property (nonatomic, readonly, getter=isRetrieving) BOOL retrieving;
 @property (nonatomic, readonly) BOOL displayAsColor;
 
-@property (nonatomic, readonly) NSString *displayName;
+@property (nonatomic, nullable, readonly) NSString *displayName;
 
-@property (nonatomic, readonly) NSString *errorMessage;
+@property (nonatomic, nullable, readonly) NSString *errorMessage;
 
-@property (nonatomic, weak) BDSKParentGroup *parent;
+@property (nonatomic, nullable, weak) BDSKParentGroup *parent;
 
-@property (nonatomic, weak) BibDocument *document;
+@property (nonatomic, nullable, weak) BibDocument *document;
 
-@property (nonatomic, readonly) BDSKMacroResolver *macroResolver;
+@property (nonatomic, nullable, readonly) BDSKMacroResolver *macroResolver;
 
 @property (nonatomic, readonly) NSArray *publications;
 
@@ -120,8 +122,8 @@
 
 @protocol BDSKMutableGroup <NSObject>
 
-@property (nonatomic, strong) id name;
-@property (nonatomic, readonly) NSUndoManager *undoManager;
+@property (nonatomic, nullable, strong) id name;
+@property (nonatomic, nullable, readonly) NSUndoManager *undoManager;
 
 @end
 
@@ -128,3 +130,5 @@
 
 @interface BDSKMutableGroup : BDSKGroup <BDSKMutableGroup>
 @end
+
+NS_ASSUME_NONNULL_END

Modified: trunk/bibdesk/BDSKISIGroupServer.h
===================================================================
--- trunk/bibdesk/BDSKISIGroupServer.h  2025-02-16 18:05:46 UTC (rev 29007)
+++ trunk/bibdesk/BDSKISIGroupServer.h  2025-02-16 22:48:28 UTC (rev 29008)
@@ -39,6 +39,8 @@
 #import <Cocoa/Cocoa.h>
 #import "BDSKSearchGroup.h"
 
+NS_ASSUME_NONNULL_BEGIN
+
 @class BDSKSoapElement, BDSKSoapBindingOperation;
 
 @interface BDSKISIGroupServer : NSObject <BDSKSearchGroupServer>
@@ -57,3 +59,5 @@
     NSHTTPCookie *sessionCookie;
 }
 @end
+
+NS_ASSUME_NONNULL_END

Modified: trunk/bibdesk/BDSKLastImportGroup.h
===================================================================
--- trunk/bibdesk/BDSKLastImportGroup.h 2025-02-16 18:05:46 UTC (rev 29007)
+++ trunk/bibdesk/BDSKLastImportGroup.h 2025-02-16 22:48:28 UTC (rev 29008)
@@ -39,6 +39,7 @@
 #import <Cocoa/Cocoa.h>
 #import "BDSKStaticGroup.h"
 
+NS_ASSUME_NONNULL_BEGIN
 
 @interface BDSKLastImportGroup : BDSKStaticGroup
 
@@ -45,3 +46,5 @@
 - (instancetype)initWithLastImport:(NSArray *)array;
 
 @end
+
+NS_ASSUME_NONNULL_END

Modified: trunk/bibdesk/BDSKLibraryGroup.h
===================================================================
--- trunk/bibdesk/BDSKLibraryGroup.h    2025-02-16 18:05:46 UTC (rev 29007)
+++ trunk/bibdesk/BDSKLibraryGroup.h    2025-02-16 22:48:28 UTC (rev 29008)
@@ -39,7 +39,9 @@
 #import <Cocoa/Cocoa.h>
 #import "BDSKGroup.h"
 
+NS_ASSUME_NONNULL_BEGIN
 
 @interface BDSKLibraryGroup : BDSKGroup
+@end
 
-@end
+NS_ASSUME_NONNULL_END

Modified: trunk/bibdesk/BDSKParentGroup.h
===================================================================
--- trunk/bibdesk/BDSKParentGroup.h     2025-02-16 18:05:46 UTC (rev 29007)
+++ trunk/bibdesk/BDSKParentGroup.h     2025-02-16 22:48:28 UTC (rev 29008)
@@ -39,6 +39,7 @@
 #import <Cocoa/Cocoa.h>
 #import "BDSKGroup.h"
 
+NS_ASSUME_NONNULL_BEGIN
 
 @class BDSKWebGroup, BDSKSearchGroup, BDSKURLGroup, BDSKScriptGroup, 
BDSKSmartGroup, BDSKStaticGroup, BDSKLastImportGroup;
 
@@ -53,7 +54,7 @@
 - (id)childAtIndex:(NSUInteger)anIndex;
 - (NSArray *)children;
 
-- (void)sortUsingDescriptors:(NSArray *)sortDescriptors;
+- (void)sortUsingDescriptors:(nullable NSArray *)sortDescriptors;
 - (void)resort;
 
 - (void)removeAllUndoableChildren;
@@ -90,7 +91,7 @@
 
 @interface BDSKSmartParentGroup : BDSKParentGroup
 
-@property (nonatomic, readonly) BDSKLastImportGroup *lastImportGroup;
+@property (nonatomic, nullable, readonly) BDSKLastImportGroup *lastImportGroup;
 @property (nonatomic, readonly) NSArray *smartGroups;
 
 @end
@@ -116,3 +117,5 @@
 @property (nonatomic, readonly) NSArray *staticGroups;
 
 @end
+
+NS_ASSUME_NONNULL_END

Modified: trunk/bibdesk/BDSKScriptGroup.h
===================================================================
--- trunk/bibdesk/BDSKScriptGroup.h     2025-02-16 18:05:46 UTC (rev 29007)
+++ trunk/bibdesk/BDSKScriptGroup.h     2025-02-16 22:48:28 UTC (rev 29008)
@@ -39,6 +39,8 @@
 #import <Cocoa/Cocoa.h>
 #import "BDSKExternalGroup.h"
 
+NS_ASSUME_NONNULL_BEGIN
+
 typedef NS_ENUM(NSInteger, BDSKScriptType) {
     BDSKShellScriptType,
     BDSKAppleScriptType
@@ -58,11 +60,13 @@
     NSData *stdoutData;
 }
 
-- (instancetype)initWithScriptPath:(NSString *)path scriptArguments:(NSString 
*)arguments;
-- (instancetype)initWithName:(NSString *)aName scriptPath:(NSString *)path 
scriptArguments:(NSString *)arguments scriptType:(BDSKScriptType)type;
+- (instancetype)initWithScriptPath:(nullable NSString *)path 
scriptArguments:(nullable NSString *)arguments;
+- (instancetype)initWithName:(nullable NSString *)aName scriptPath:(nullable 
NSString *)path scriptArguments:(nullable NSString *)arguments 
scriptType:(BDSKScriptType)type;
 
-@property (nonatomic, strong) NSString *scriptPath;
-@property (nonatomic, strong) NSString *scriptArguments;
+@property (nonatomic, nullable, strong) NSString *scriptPath;
+@property (nonatomic, nullable, strong) NSString *scriptArguments;
 @property (nonatomic) BDSKScriptType scriptType;
 
 @end
+
+NS_ASSUME_NONNULL_END

Modified: trunk/bibdesk/BDSKSearchGroup.h
===================================================================
--- trunk/bibdesk/BDSKSearchGroup.h     2025-02-16 18:05:46 UTC (rev 29007)
+++ trunk/bibdesk/BDSKSearchGroup.h     2025-02-16 22:48:28 UTC (rev 29008)
@@ -39,6 +39,8 @@
 #import <Cocoa/Cocoa.h>
 #import "BDSKExternalGroup.h"
 
+NS_ASSUME_NONNULL_BEGIN
+
 extern NSString *BDSKSearchGroupEntrez;
 extern NSString *BDSKSearchGroupZoom;
 extern NSString *BDSKSearchGroupISI;
@@ -49,19 +51,19 @@
 @class BDSKServerInfo;
 
 @protocol BDSKSearchGroup <BDSKOwner>
-- (void)addPublications:(NSArray *)pubs;
+- (void)addPublications:(nullable NSArray *)pubs;
 @end
 
 @protocol BDSKSearchGroupServer <NSObject>
 - (instancetype)initWithGroup:(id<BDSKSearchGroup>)aGroup 
serverInfo:(BDSKServerInfo *)info;
-@property (nonatomic, readonly) NSString *type;
-@property (nonatomic, copy) BDSKServerInfo *serverInfo;
+@property (nonatomic, nullable, readonly) NSString *type;
+@property (nonatomic, nullable, copy) BDSKServerInfo *serverInfo;
 @property (nonatomic, readonly) NSInteger numberOfAvailableResults;
 @property (nonatomic, readonly) NSInteger numberOfFetchedResults;
 @property (nonatomic, readonly) BOOL failedDownload;
-@property (nonatomic, readonly) NSString *errorMessage;
+@property (nonatomic, nullable, readonly) NSString *errorMessage;
 @property (nonatomic, readonly, getter=isRetrieving) BOOL retrieving;
-@property (nonatomic, readonly) NSFormatter *searchStringFormatter;
+@property (nonatomic, nullable, readonly) NSFormatter *searchStringFormatter;
 - (void)retrieveWithSearchTerm:(NSString *)aSearchTerm;
 - (void)reset;
 - (void)terminate;
@@ -73,23 +75,23 @@
     id<BDSKSearchGroupServer> server;
 }
 
-- (instancetype)initWithServerInfo:(BDSKServerInfo *)info searchTerm:(NSString 
*)string;
+- (instancetype)initWithServerInfo:(nullable BDSKServerInfo *)info 
searchTerm:(nullable NSString *)string;
 - (instancetype)initWithURL:(NSURL *)bdsksearchURL;
 
-@property (nonatomic, readonly) NSString *type;
-@property (nonatomic, copy) BDSKServerInfo *serverInfo;
-@property (nonatomic, copy) NSString *searchTerm;
-@property (nonatomic, copy) NSArray *history;
+@property (nonatomic, nullable, readonly) NSString *type;
+@property (nonatomic, nullable, copy) BDSKServerInfo *serverInfo;
+@property (nonatomic, nullable, copy) NSString *searchTerm;
+@property (nonatomic, nullable, copy) NSArray *history;
 
 @property (nonatomic, readonly) NSInteger numberOfAvailableResults;
-@property (nonatomic, readonly) NSString *errorMessage;
+@property (nonatomic, nullable, readonly) NSString *errorMessage;
 @property (nonatomic, readonly) BOOL hasMoreResults;
 
 - (void)search;
 
-- (void)resetServerWithInfo:(BDSKServerInfo *)info;
+- (void)resetServerWithInfo:(nullable BDSKServerInfo *)info;
 
-@property (nonatomic, readonly) NSFormatter *searchStringFormatter;
+@property (nonatomic, nullable, readonly) NSFormatter *searchStringFormatter;
 
 + (NSDictionary *)dictionaryWithBdsksearchURL:(NSURL *)bdsksearchURL;
 
@@ -108,9 +110,11 @@
     id strongSelf;
 }
 
-+ (void)searchUsingSearchTerm:(NSString *)searchTerm 
serverInfo:(BDSKServerInfo *)serverInfo macroResolver:(BDSKMacroResolver 
*)macroResolver completionHandler:(void(^)(NSArray 
*publications))completionHandler;
++ (void)searchUsingSearchTerm:(NSString *)searchTerm 
serverInfo:(BDSKServerInfo *)serverInfo macroResolver:(BDSKMacroResolver 
*)macroResolver completionHandler:(void(^)(NSArray * _Nullable 
publications))completionHandler;
 
 - (instancetype)initWithMacroResolver:(BDSKMacroResolver *)aMacroResolver;
 - (void)searchUsingSearchTerm:(NSString *)searchTerm 
serverInfo:(BDSKServerInfo *)serverInfo completionHandler:(void(^)(NSArray 
*publications))aCompletionHandler;
 
 @end
+
+NS_ASSUME_NONNULL_END

Modified: trunk/bibdesk/BDSKSharedGroup.h
===================================================================
--- trunk/bibdesk/BDSKSharedGroup.h     2025-02-16 18:05:46 UTC (rev 29007)
+++ trunk/bibdesk/BDSKSharedGroup.h     2025-02-16 22:48:28 UTC (rev 29008)
@@ -39,6 +39,8 @@
 #import <Cocoa/Cocoa.h>
 #import "BDSKExternalGroup.h"
 
+NS_ASSUME_NONNULL_BEGIN
+
 @class BDSKSharingClient;
 
 @interface BDSKSharedGroup : BDSKExternalGroup
@@ -55,6 +57,8 @@
 @property (nonatomic, readonly) BDSKSharingClient *client;
 @property (nonatomic, readonly) BOOL needsUpdate;
 
-- (void)handleClientUpdatedNotification:(NSNotification *)notification;
+- (void)handleClientUpdatedNotification:(nullable NSNotification 
*)notification;
 
 @end
+
+NS_ASSUME_NONNULL_END

Modified: trunk/bibdesk/BDSKSmartGroup.h
===================================================================
--- trunk/bibdesk/BDSKSmartGroup.h      2025-02-16 18:05:46 UTC (rev 29007)
+++ trunk/bibdesk/BDSKSmartGroup.h      2025-02-16 22:48:28 UTC (rev 29008)
@@ -39,11 +39,13 @@
 #import <Cocoa/Cocoa.h>
 #import "BDSKGroup.h"
 
+NS_ASSUME_NONNULL_BEGIN
+
 @class BDSKFilter, BibDocument;
 
 @protocol BDSKSmartGroup <BDSKMutableGroup>
-@property (nonatomic, readonly) BDSKFilter *filter;
-@property (nonatomic, readonly) BibDocument *document;
+@property (nonatomic, nullable, readonly) BDSKFilter *filter;
+@property (nonatomic, nullable, readonly) BibDocument *document;
 @end
 
 @interface BDSKSmartGroup : BDSKMutableGroup <BDSKSmartGroup> {
@@ -50,11 +52,13 @@
        BDSKFilter *filter;
 }
 
-- (instancetype)initWithFilter:(BDSKFilter *)aFilter;
-- (instancetype)initWithName:(id)aName filter:(BDSKFilter *)aFilter;
+- (instancetype)initWithFilter:(nullable BDSKFilter *)aFilter;
+- (instancetype)initWithName:(nullable id)aName filter:(nullable BDSKFilter 
*)aFilter;
 
-@property (nonatomic, strong) BDSKFilter *filter;
+@property (nonatomic, nullable, strong) BDSKFilter *filter;
 
 - (void)invalidateCount;
 
 @end
+
+NS_ASSUME_NONNULL_END

Modified: trunk/bibdesk/BDSKStaticGroup.h
===================================================================
--- trunk/bibdesk/BDSKStaticGroup.h     2025-02-16 18:05:46 UTC (rev 29007)
+++ trunk/bibdesk/BDSKStaticGroup.h     2025-02-16 22:48:28 UTC (rev 29008)
@@ -39,6 +39,8 @@
 #import <Cocoa/Cocoa.h>
 #import "BDSKGroup.h"
 
+NS_ASSUME_NONNULL_BEGIN
+
 @class BibItem;
 
 @interface BDSKStaticGroup : BDSKMutableGroup {
@@ -46,9 +48,9 @@
     NSArray *tmpKeys;
 }
 
-- (instancetype)initWithName:(id)aName publications:(NSArray *)array;
+- (instancetype)initWithName:(nullable id)aName publications:(nullable NSArray 
*)array;
 
-@property (nonatomic, copy) NSArray *publications;
+@property (nonatomic, nullable, copy) NSArray *publications;
 
 - (void)addPublication:(BibItem *)item;
 - (void)addPublicationsFromArray:(NSArray *)items;
@@ -56,3 +58,5 @@
 - (void)removePublicationsInArray:(NSArray *)items;
 
 @end
+
+NS_ASSUME_NONNULL_END

Modified: trunk/bibdesk/BDSKURLGroup.h
===================================================================
--- trunk/bibdesk/BDSKURLGroup.h        2025-02-16 18:05:46 UTC (rev 29007)
+++ trunk/bibdesk/BDSKURLGroup.h        2025-02-16 22:48:28 UTC (rev 29008)
@@ -40,6 +40,7 @@
 #import "BDSKExternalGroup.h"
 #import "BDSKDownloader.h"
 
+NS_ASSUME_NONNULL_BEGIN
 
 @interface BDSKURLGroup : BDSKMutableExternalGroup <BDSKDownloadDelegate>
 {
@@ -50,9 +51,11 @@
     BDSKDownload *download;
 }
 
-- (instancetype)initWithName:(NSString *)aName URL:(NSURL *)aURL;
-- (instancetype)initWithURL:(NSURL *)aURL;
+- (instancetype)initWithName:(nullable NSString *)aName URL:(nullable NSURL 
*)aURL;
+- (instancetype)initWithURL:(nullable NSURL *)aURL;
 
-@property (nonatomic, strong) NSURL *URL;
+@property (nonatomic, nullable, strong) NSURL *URL;
 
 @end
+
+NS_ASSUME_NONNULL_END

Modified: trunk/bibdesk/BDSKWebGroup.h
===================================================================
--- trunk/bibdesk/BDSKWebGroup.h        2025-02-16 18:05:46 UTC (rev 29007)
+++ trunk/bibdesk/BDSKWebGroup.h        2025-02-16 22:48:28 UTC (rev 29008)
@@ -40,6 +40,7 @@
 #import "BDSKExternalGroup.h"
 #import "BDSKWebView.h"
 
+NS_ASSUME_NONNULL_BEGIN
 
 @interface BDSKWebGroup : BDSKExternalGroup <BDSKWebViewDelegate> {
     NSString *label;
@@ -48,9 +49,9 @@
     NSMapTable *frameInfo;
 }
 
-@property (nonatomic, strong) NSString *label;
+@property (nonatomic, nullable, strong) NSString *label;
 
-@property (nonatomic, strong) NSURL *URL;
+@property (nonatomic, nullable, strong) NSURL *URL;
 
 @property (nonatomic, readonly) BDSKWebView *webView;
 
@@ -67,6 +68,8 @@
     id strongSelf;
 }
 
-+ (void)searchItemsFromURL:(NSURL *)aURL macroResolver:(BDSKMacroResolver 
*)macroResolver completionHandler:(void(^)(NSArray 
*publications))completionHandler;
++ (void)searchItemsFromURL:(NSURL *)aURL macroResolver:(BDSKMacroResolver 
*)macroResolver completionHandler:(void(^)(NSArray * _Nullable 
publications))completionHandler;
 
 @end
+
+NS_ASSUME_NONNULL_END

Modified: trunk/bibdesk/BDSKZoomGroupServer.h
===================================================================
--- trunk/bibdesk/BDSKZoomGroupServer.h 2025-02-16 18:05:46 UTC (rev 29007)
+++ trunk/bibdesk/BDSKZoomGroupServer.h 2025-02-16 22:48:28 UTC (rev 29008)
@@ -41,6 +41,7 @@
 #import "BDSKSearchGroup.h"
 #import "BDSKAsyncObject.h"
 
+NS_ASSUME_NONNULL_BEGIN
 
 typedef struct _BDSKZoomGroupFlags {
     _Atomic(BOOL) isRetrieving;
@@ -65,3 +66,5 @@
 @property (class, nonatomic, readonly) NSArray *supportedRecordSyntaxes;
 + (ZOOMSyntaxType)zoomRecordSyntaxForRecordSyntaxString:(NSString *)syntax;
 @end
+
+NS_ASSUME_NONNULL_END

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



_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to