Revision: 29032 http://sourceforge.net/p/bibdesk/svn/29032 Author: hofman Date: 2025-02-19 17:44:36 +0000 (Wed, 19 Feb 2025) Log Message: ----------- Add nullability to remaining header files
Modified Paths: -------------- trunk/bibdesk/BDSKCompletionServerProtocol.h trunk/bibdesk/BDSKComplexString.h trunk/bibdesk/BDSKScrollableTextFieldCell.h trunk/bibdesk/NSFont_BDSKExtensions.h trunk/bibdesk/WOKMWSAuthenticateService.h trunk/bibdesk/WokSearchLiteService.h trunk/bibdesk/WokSearchService.h Modified: trunk/bibdesk/BDSKCompletionServerProtocol.h =================================================================== --- trunk/bibdesk/BDSKCompletionServerProtocol.h 2025-02-19 17:15:19 UTC (rev 29031) +++ trunk/bibdesk/BDSKCompletionServerProtocol.h 2025-02-19 17:44:36 UTC (rev 29032) @@ -37,6 +37,8 @@ #import <Foundation/Foundation.h> +NS_ASSUME_NONNULL_BEGIN + #define BIBDESK_SERVER_NAME @"BDSKCompletionServer" /* @@ -60,13 +62,13 @@ @protocol BDSKCompletionServer // Returns an array of KVC-compliant objects -- (NSArray *)completionsForString:(NSString *)searchString; +- (nullable NSArray *)completionsForString:(NSString *)searchString; // Returns a list of URLs of currently opened documents -- (NSArray *)orderedDocumentURLs; +- (nullable NSArray *)orderedDocumentURLs; @end -static inline NSArray *BDSKCompletionsForString(NSString *searchString) { +static inline NSArray * _Nullable BDSKCompletionsForString(NSString *searchString) { NSArray *completions = nil; #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdeprecated-declarations" @@ -94,3 +96,5 @@ return completions; } + +NS_ASSUME_NONNULL_END Modified: trunk/bibdesk/BDSKComplexString.h =================================================================== --- trunk/bibdesk/BDSKComplexString.h 2025-02-19 17:15:19 UTC (rev 29031) +++ trunk/bibdesk/BDSKComplexString.h 2025-02-19 17:44:36 UTC (rev 29032) @@ -39,6 +39,8 @@ #import <Foundation/Foundation.h> #import "BDSKStringConstants.h" +NS_ASSUME_NONNULL_BEGIN + @class BDSKMacroResolver; /* This is a category on NSString containing the API for complex strings. */ @@ -45,9 +47,9 @@ @interface NSString (BDSKComplexStringExtensions) -@property (class, nonatomic, strong) BDSKMacroResolver *macroResolverForUnarchiving; +@property (class, nonatomic, nullable, strong) BDSKMacroResolver *macroResolverForUnarchiving; -+ (BOOL)isEmptyAsComplexString:(NSString *)aString; ++ (BOOL)isEmptyAsComplexString:(nullable NSString *)aString; /*! @method stringWithNodes:macroResolver: @@ -57,7 +59,7 @@ @param macroResolver The macro resolver used to resolve macros in the complex string. @result - */ -+ (instancetype)stringWithNodes:(NSArray *)nodesArray macroResolver:(BDSKMacroResolver *)macroResolver; ++ (instancetype)stringWithNodes:(NSArray *)nodesArray macroResolver:(nullable BDSKMacroResolver *)macroResolver; /*! @method stringWithBibTeXString:macroResolver:error: @@ -68,7 +70,7 @@ @param outError When failing, will be set to the parsing error. @result - */ -+ (instancetype)stringWithBibTeXString:(NSString *)btstring macroResolver:(BDSKMacroResolver *)theMacroResolver error:(NSError **)outError; ++ (nullable instancetype)stringWithBibTeXString:(NSString *)btstring macroResolver:(nullable BDSKMacroResolver *)theMacroResolver error:(NSError **)outError; /*! @method initWithNodes:macroResolver: @@ -79,7 +81,7 @@ @param macroResolver The macro resolver used to resolve macros in the complex string. @result - */ -- (instancetype)initWithNodes:(NSArray *)nodesArray macroResolver:(BDSKMacroResolver *)theMacroResolver; +- (instancetype)initWithNodes:(NSArray *)nodesArray macroResolver:(nullable BDSKMacroResolver *)theMacroResolver; /*! @method initWithBibTeXString:macroResolver:error: @@ -90,7 +92,7 @@ @param outError When failing, will be set to the parsing error. @result - */ -- (instancetype)initWithBibTeXString:(NSString *)btstring macroResolver:(BDSKMacroResolver *)theMacroResolver error:(NSError **)outError; +- (nullable instancetype)initWithBibTeXString:(NSString *)btstring macroResolver:(nullable BDSKMacroResolver *)theMacroResolver error:(NSError **)outError; /*! @method isComplex @@ -123,7 +125,7 @@ @param other The string to compare with @result Boolean indicating if the strings are equal as complex strings */ -- (BOOL)isEqualAsComplexString:(NSString *)other; +- (BOOL)isEqualAsComplexString:(nullable NSString *)other; /*! @method compareAsComplexString: @@ -132,7 +134,7 @@ @param other The string to compare with @result - */ -- (NSComparisonResult)compareAsComplexString:(NSString *)other; +- (NSComparisonResult)compareAsComplexString:(nullable NSString *)other; /*! @method isEqualAsComplexString: @@ -142,7 +144,7 @@ @param mask The search options to use in the comparison. These are the same as for normal string compare methods. @result - */ -- (NSComparisonResult)compareAsComplexString:(NSString *)other options:(NSUInteger)mask; +- (NSComparisonResult)compareAsComplexString:(nullable NSString *)other options:(NSUInteger)mask; /*! @method stringAsBibTeXString @@ -183,8 +185,10 @@ When the receiver is complex, only whole node matches are replaced. @result (description) */ -- (NSString *)stringByReplacingOccurrencesOfString:(NSString *)target withString:(NSString *)replacement options:(NSUInteger)opts replacements:(NSUInteger *)number; +- (NSString *)stringByReplacingOccurrencesOfString:(NSString *)target withString:(NSString *)replacement options:(NSUInteger)opts replacements:(NSUInteger * _Nullable)number; - (NSString *)complexStringByAppendingString:(NSString *)string; @end + +NS_ASSUME_NONNULL_END Modified: trunk/bibdesk/BDSKScrollableTextFieldCell.h =================================================================== --- trunk/bibdesk/BDSKScrollableTextFieldCell.h 2025-02-19 17:15:19 UTC (rev 29031) +++ trunk/bibdesk/BDSKScrollableTextFieldCell.h 2025-02-19 17:44:36 UTC (rev 29032) @@ -39,6 +39,7 @@ #import <Cocoa/Cocoa.h> #import "BDSKScrollableTextField.h" +NS_ASSUME_NONNULL_BEGIN @interface BDSKScrollableTextFieldCell : NSTextFieldCell { NSInteger scrollStep; @@ -59,3 +60,5 @@ @property (nonatomic) CGFloat scrollAmount; @end + +NS_ASSUME_NONNULL_END Modified: trunk/bibdesk/NSFont_BDSKExtensions.h =================================================================== --- trunk/bibdesk/NSFont_BDSKExtensions.h 2025-02-19 17:15:19 UTC (rev 29031) +++ trunk/bibdesk/NSFont_BDSKExtensions.h 2025-02-19 17:44:36 UTC (rev 29032) @@ -38,12 +38,13 @@ #import <Cocoa/Cocoa.h> +NS_ASSUME_NONNULL_BEGIN @interface NSFont (BDSKExtensions) @property (nonatomic, readonly) CGFloat defaultViewLineHeight; -+ (NSFont *)fontForDefaultsNameKey:(NSString *)nameKey sizeKey:(NSString *)sizeKey; ++ (nullable NSFont *)fontForDefaultsNameKey:(NSString *)nameKey sizeKey:(NSString *)sizeKey; - (void)setDefaultsForNameKey:(NSString *)nameKey sizeKey:(NSString *)sizeKey; @property (nonatomic, readonly) NSString *localizedFontName; @@ -52,3 +53,5 @@ @property (nonatomic, readonly) NSFont *smallerFont; @end + +NS_ASSUME_NONNULL_END Modified: trunk/bibdesk/WOKMWSAuthenticateService.h =================================================================== --- trunk/bibdesk/WOKMWSAuthenticateService.h 2025-02-19 17:15:19 UTC (rev 29031) +++ trunk/bibdesk/WOKMWSAuthenticateService.h 2025-02-19 17:44:36 UTC (rev 29032) @@ -1,6 +1,8 @@ #import <Cocoa/Cocoa.h> #import "BDSKSoapBinding.h" +NS_ASSUME_NONNULL_BEGIN + @interface WOKMWSAuthenticateService_authenticate : BDSKSoapElement @end @@ -7,7 +9,7 @@ @interface WOKMWSAuthenticateService_authenticateResponse : BDSKSoapElement { NSString * return_; } -@property (nonatomic, strong) NSString * return_; +@property (nonatomic, nullable, strong) NSString * return_; @end @interface WOKMWSAuthenticateService_closeSession : BDSKSoapElement @@ -18,3 +20,5 @@ @interface WOKMWSAuthenticateService : BDSKSoapBinding @end + +NS_ASSUME_NONNULL_END Modified: trunk/bibdesk/WokSearchLiteService.h =================================================================== --- trunk/bibdesk/WokSearchLiteService.h 2025-02-19 17:15:19 UTC (rev 29031) +++ trunk/bibdesk/WokSearchLiteService.h 2025-02-19 17:44:36 UTC (rev 29032) @@ -1,12 +1,14 @@ #import <Cocoa/Cocoa.h> #import "BDSKSoapBinding.h" +NS_ASSUME_NONNULL_BEGIN + @interface WokSearchLiteService_sortField : BDSKSoapElement { NSString * name; NSString * sort; } -@property (nonatomic, strong) NSString * name; -@property (nonatomic, strong) NSString * sort; +@property (nonatomic, nullable, strong) NSString * name; +@property (nonatomic, nullable, strong) NSString * sort; @end @interface WokSearchLiteService_retrieveParameters : BDSKSoapElement { @@ -14,8 +16,8 @@ NSNumber * count; NSMutableArray *sortField; } -@property (nonatomic, strong) NSNumber * firstRecord; -@property (nonatomic, strong) NSNumber * count; +@property (nonatomic, nullable, strong) NSNumber * firstRecord; +@property (nonatomic, nullable, strong) NSNumber * count; - (void)addSortField:(WokSearchLiteService_sortField *)toAdd; @property (nonatomic, readonly) NSArray * sortField; @end @@ -23,13 +25,13 @@ @interface WokSearchLiteServiceRequest : BDSKSoapElement { WokSearchLiteService_retrieveParameters * retrieveParameters; } -@property (nonatomic, strong) WokSearchLiteService_retrieveParameters * retrieveParameters; +@property (nonatomic, nullable, strong) WokSearchLiteService_retrieveParameters * retrieveParameters; @end @interface WokSearchLiteService_retrieve : WokSearchLiteServiceRequest { NSString * queryId; } -@property (nonatomic, strong) NSString * queryId; +@property (nonatomic, nullable, strong) NSString * queryId; @end @interface WokSearchLiteService_labelValuesPair : BDSKSoapElement { @@ -36,7 +38,7 @@ NSString * label; NSMutableArray *value; } -@property (nonatomic, strong) NSString * label; +@property (nonatomic, nullable, strong) NSString * label; - (void)addValue:(NSString *)toAdd; @property (nonatomic, readonly) NSArray * value; @end @@ -49,7 +51,7 @@ NSMutableArray *keywords; NSMutableArray *other; } -@property (nonatomic, strong) NSString * uid; +@property (nonatomic, nullable, strong) NSString * uid; - (void)addTitle:(WokSearchLiteService_labelValuesPair *)toAdd; @property (nonatomic, readonly) NSArray * title; - (void)addSource:(WokSearchLiteService_labelValuesPair *)toAdd; @@ -69,10 +71,10 @@ WokSearchLiteService_liteRecord * parent; NSMutableArray *records; } -@property (nonatomic, strong) NSString * queryId; -@property (nonatomic, strong) NSNumber * recordsFound; -@property (nonatomic, strong) NSNumber * recordsSearched; -@property (nonatomic, strong) WokSearchLiteService_liteRecord * parent; +@property (nonatomic, nullable, strong) NSString * queryId; +@property (nonatomic, nullable, strong) NSNumber * recordsFound; +@property (nonatomic, nullable, strong) NSNumber * recordsSearched; +@property (nonatomic, nullable, strong) WokSearchLiteService_liteRecord * parent; - (void)addRecords:(WokSearchLiteService_liteRecord *)toAdd; @property (nonatomic, readonly) NSArray * records; @end @@ -80,7 +82,7 @@ @interface WokSearchLiteService_retrieveResponse : BDSKSoapElement { WokSearchLiteService_searchResults * return_; } -@property (nonatomic, strong) WokSearchLiteService_searchResults * return_; +@property (nonatomic, nullable, strong) WokSearchLiteService_searchResults * return_; @end @interface WokSearchLiteService_retrieveById : WokSearchLiteServiceRequest { @@ -88,16 +90,16 @@ NSMutableArray *uid; NSString * queryLanguage; } -@property (nonatomic, strong) NSString * databaseId; +@property (nonatomic, nullable, strong) NSString * databaseId; - (void)addUid:(NSString *)toAdd; -@property (nonatomic, readonly) NSArray * uid; -@property (nonatomic, strong) NSString * queryLanguage; +@property (nonatomic, nullable, readonly) NSArray * uid; +@property (nonatomic, nullable, strong) NSString * queryLanguage; @end @interface WokSearchLiteService_retrieveByIdResponse : BDSKSoapElement { WokSearchLiteService_searchResults * return_; } -@property (nonatomic, strong) WokSearchLiteService_searchResults * return_; +@property (nonatomic, nullable, strong) WokSearchLiteService_searchResults * return_; @end @interface WokSearchLiteService_editionDesc : BDSKSoapElement { @@ -104,8 +106,8 @@ NSString * collection; NSString * edition; } -@property (nonatomic, strong) NSString * collection; -@property (nonatomic, strong) NSString * edition; +@property (nonatomic, nullable, strong) NSString * collection; +@property (nonatomic, nullable, strong) NSString * edition; @end @interface WokSearchLiteService_timeSpan : BDSKSoapElement { @@ -112,8 +114,8 @@ NSString * begin; NSString * end; } -@property (nonatomic, strong) NSString * begin; -@property (nonatomic, strong) NSString * end; +@property (nonatomic, nullable, strong) NSString * begin; +@property (nonatomic, nullable, strong) NSString * end; @end @interface WokSearchLiteService_queryParameters : BDSKSoapElement { @@ -124,26 +126,28 @@ WokSearchLiteService_timeSpan * timeSpan; NSString * queryLanguage; } -@property (nonatomic, strong) NSString * databaseId; -@property (nonatomic, strong) NSString * userQuery; +@property (nonatomic, nullable, strong) NSString * databaseId; +@property (nonatomic, nullable, strong) NSString * userQuery; - (void)addEditions:(WokSearchLiteService_editionDesc *)toAdd; @property (nonatomic, readonly) NSArray * editions; -@property (nonatomic, strong) NSString * symbolicTimeSpan; -@property (nonatomic, strong) WokSearchLiteService_timeSpan * timeSpan; -@property (nonatomic, strong) NSString * queryLanguage; +@property (nonatomic, nullable, strong) NSString * symbolicTimeSpan; +@property (nonatomic, nullable, strong) WokSearchLiteService_timeSpan * timeSpan; +@property (nonatomic, nullable, strong) NSString * queryLanguage; @end @interface WokSearchLiteService_search : WokSearchLiteServiceRequest { WokSearchLiteService_queryParameters * queryParameters; } -@property (nonatomic, strong) WokSearchLiteService_queryParameters * queryParameters; +@property (nonatomic, nullable, strong) WokSearchLiteService_queryParameters * queryParameters; @end @interface WokSearchLiteService_searchResponse : BDSKSoapElement { WokSearchLiteService_searchResults * return_; } -@property (nonatomic, strong) WokSearchLiteService_searchResults * return_; +@property (nonatomic, nullable, strong) WokSearchLiteService_searchResults * return_; @end @interface WokSearchLiteService : BDSKSoapBinding @end + +NS_ASSUME_NONNULL_END Modified: trunk/bibdesk/WokSearchService.h =================================================================== --- trunk/bibdesk/WokSearchService.h 2025-02-19 17:15:19 UTC (rev 29031) +++ trunk/bibdesk/WokSearchService.h 2025-02-19 17:44:36 UTC (rev 29032) @@ -1,13 +1,14 @@ #import <Cocoa/Cocoa.h> #import "BDSKSoapBinding.h" +NS_ASSUME_NONNULL_BEGIN @interface WokSearchService_sortField : BDSKSoapElement { NSString * name; NSString * sort; } -@property (nonatomic, strong) NSString * name; -@property (nonatomic, strong) NSString * sort; +@property (nonatomic, nullable, strong) NSString * name; +@property (nonatomic, nullable, strong) NSString * sort; @end @interface WokSearchService_viewField : BDSKSoapElement { @@ -14,7 +15,7 @@ NSString * collectionName; NSMutableArray *fieldName; } -@property (nonatomic, strong) NSString * collectionName; +@property (nonatomic, nullable, strong) NSString * collectionName; - (void)addFieldName:(NSString *)toAdd; @property (nonatomic, readonly) NSArray * fieldName; @end @@ -23,8 +24,8 @@ NSString * key; NSString * value; } -@property (nonatomic, strong) NSString * key; -@property (nonatomic, strong) NSString * value; +@property (nonatomic, nullable, strong) NSString * key; +@property (nonatomic, nullable, strong) NSString * value; @end @interface WokSearchService_retrieveParameters : BDSKSoapElement { @@ -34,8 +35,8 @@ NSMutableArray *viewField; NSMutableArray *option; } -@property (nonatomic, strong) NSNumber * firstRecord; -@property (nonatomic, strong) NSNumber * count; +@property (nonatomic, nullable, strong) NSNumber * firstRecord; +@property (nonatomic, nullable, strong) NSNumber * count; - (void)addSortField:(WokSearchService_sortField *)toAdd; @property (nonatomic, readonly) NSArray * sortField; - (void)addViewField:(WokSearchService_viewField *)toAdd; @@ -47,7 +48,7 @@ @interface WokSearchServiceRequest : BDSKSoapElement { WokSearchService_retrieveParameters * retrieveParameters; } -@property (nonatomic, strong) WokSearchService_retrieveParameters * retrieveParameters; +@property (nonatomic, nullable, strong) WokSearchService_retrieveParameters * retrieveParameters; @end @interface WokSearchService_citedReferences : WokSearchServiceRequest { @@ -55,9 +56,9 @@ NSString * uid; NSString * queryLanguage; } -@property (nonatomic, strong) NSString * databaseId; -@property (nonatomic, strong) NSString * uid; -@property (nonatomic, strong) NSString * queryLanguage; +@property (nonatomic, nullable, strong) NSString * databaseId; +@property (nonatomic, nullable, strong) NSString * uid; +@property (nonatomic, nullable, strong) NSString * queryLanguage; @end @interface WokSearchService_citedReference : BDSKSoapElement { @@ -73,17 +74,17 @@ NSString * citedWork; NSString * hot; } -@property (nonatomic, strong) NSString * uid; -@property (nonatomic, strong) NSString * docid; -@property (nonatomic, strong) NSString * articleId; -@property (nonatomic, strong) NSString * citedAuthor; -@property (nonatomic, strong) NSString * timesCited; -@property (nonatomic, strong) NSString * year; -@property (nonatomic, strong) NSString * page; -@property (nonatomic, strong) NSString * volume; -@property (nonatomic, strong) NSString * citedTitle; -@property (nonatomic, strong) NSString * citedWork; -@property (nonatomic, strong) NSString * hot; +@property (nonatomic, nullable, strong) NSString * uid; +@property (nonatomic, nullable, strong) NSString * docid; +@property (nonatomic, nullable, strong) NSString * articleId; +@property (nonatomic, nullable, strong) NSString * citedAuthor; +@property (nonatomic, nullable, strong) NSString * timesCited; +@property (nonatomic, nullable, strong) NSString * year; +@property (nonatomic, nullable, strong) NSString * page; +@property (nonatomic, nullable, strong) NSString * volume; +@property (nonatomic, nullable, strong) NSString * citedTitle; +@property (nonatomic, nullable, strong) NSString * citedWork; +@property (nonatomic, nullable, strong) NSString * hot; @end @interface WokSearchService_citedReferencesSearchResults : BDSKSoapElement { @@ -92,23 +93,23 @@ NSNumber * recordsFound; NSNumber * recordsSearched; } -@property (nonatomic, strong) NSString * queryId; +@property (nonatomic, nullable, strong) NSString * queryId; - (void)addReferences:(WokSearchService_citedReference *)toAdd; @property (nonatomic, readonly) NSArray * references; -@property (nonatomic, strong) NSNumber * recordsFound; -@property (nonatomic, strong) NSNumber * recordsSearched; +@property (nonatomic, nullable, strong) NSNumber * recordsFound; +@property (nonatomic, nullable, strong) NSNumber * recordsSearched; @end @interface WokSearchService_citedReferencesResponse : BDSKSoapElement { WokSearchService_citedReferencesSearchResults * return_; } -@property (nonatomic, strong) WokSearchService_citedReferencesSearchResults * return_; +@property (nonatomic, nullable, strong) WokSearchService_citedReferencesSearchResults * return_; @end @interface WokSearchService_citedReferencesRetrieve : WokSearchServiceRequest { NSString * queryId; } -@property (nonatomic, strong) NSString * queryId; +@property (nonatomic, nullable, strong) NSString * queryId; @end @interface WokSearchService_citedReferencesRetrieveResponse : BDSKSoapElement { @@ -122,8 +123,8 @@ NSString * collection; NSString * edition; } -@property (nonatomic, strong) NSString * collection; -@property (nonatomic, strong) NSString * edition; +@property (nonatomic, nullable, strong) NSString * collection; +@property (nonatomic, nullable, strong) NSString * edition; @end @interface WokSearchService_timeSpan : BDSKSoapElement { @@ -130,8 +131,8 @@ NSString * begin; NSString * end; } -@property (nonatomic, strong) NSString * begin; -@property (nonatomic, strong) NSString * end; +@property (nonatomic, nullable, strong) NSString * begin; +@property (nonatomic, nullable, strong) NSString * end; @end @interface WokSearchService_citingArticles : WokSearchServiceRequest { @@ -141,12 +142,12 @@ WokSearchService_timeSpan * timeSpan; NSString * queryLanguage; } -@property (nonatomic, strong) NSString * databaseId; -@property (nonatomic, strong) NSString * uid; +@property (nonatomic, nullable, strong) NSString * databaseId; +@property (nonatomic, nullable, strong) NSString * uid; - (void)addEditions:(WokSearchService_editionDesc *)toAdd; @property (nonatomic, readonly) NSArray * editions; -@property (nonatomic, strong) WokSearchService_timeSpan * timeSpan; -@property (nonatomic, strong) NSString * queryLanguage; +@property (nonatomic, nullable, strong) WokSearchService_timeSpan * timeSpan; +@property (nonatomic, nullable, strong) NSString * queryLanguage; @end @interface WokSearchService_labelValuesPair : BDSKSoapElement { @@ -153,7 +154,7 @@ NSString * label; NSMutableArray *value; } -@property (nonatomic, strong) NSString * label; +@property (nonatomic, nullable, strong) NSString * label; - (void)addValue:(NSString *)toAdd; @property (nonatomic, readonly) NSArray * value; @end @@ -166,19 +167,19 @@ NSMutableArray *optionValue; NSString * records; } -@property (nonatomic, strong) NSString * queryId; -@property (nonatomic, strong) NSNumber * recordsFound; -@property (nonatomic, strong) NSNumber * recordsSearched; -@property (nonatomic, strong) NSString * parent; +@property (nonatomic, nullable, strong) NSString * queryId; +@property (nonatomic, nullable, strong) NSNumber * recordsFound; +@property (nonatomic, nullable, strong) NSNumber * recordsSearched; +@property (nonatomic, nullable, strong) NSString * parent; - (void)addOptionValue:(WokSearchService_labelValuesPair *)toAdd; @property (nonatomic, readonly) NSArray * optionValue; -@property (nonatomic, strong) NSString * records; +@property (nonatomic, nullable, strong) NSString * records; @end @interface WokSearchService_citingArticlesResponse : BDSKSoapElement { WokSearchService_fullRecordSearchResults * return_; } -@property (nonatomic, strong) WokSearchService_fullRecordSearchResults * return_; +@property (nonatomic, nullable, strong) WokSearchService_fullRecordSearchResults * return_; @end @interface WokSearchService_relatedRecords : WokSearchServiceRequest { @@ -188,24 +189,24 @@ WokSearchService_timeSpan * timeSpan; NSString * queryLanguage; } -@property (nonatomic, strong) NSString * databaseId; -@property (nonatomic, strong) NSString * uid; +@property (nonatomic, nullable, strong) NSString * databaseId; +@property (nonatomic, nullable, strong) NSString * uid; - (void)addEditions:(WokSearchService_editionDesc *)toAdd; @property (nonatomic, readonly) NSArray * editions; -@property (nonatomic, strong) WokSearchService_timeSpan * timeSpan; -@property (nonatomic, strong) NSString * queryLanguage; +@property (nonatomic, nullable, strong) WokSearchService_timeSpan * timeSpan; +@property (nonatomic, nullable, strong) NSString * queryLanguage; @end @interface WokSearchService_relatedRecordsResponse : BDSKSoapElement { WokSearchService_fullRecordSearchResults * return_; } -@property (nonatomic, strong) WokSearchService_fullRecordSearchResults * return_; +@property (nonatomic, nullable, strong) WokSearchService_fullRecordSearchResults * return_; @end @interface WokSearchService_retrieve : WokSearchServiceRequest { NSString * queryId; } -@property (nonatomic, strong) NSString * queryId; +@property (nonatomic, nullable, strong) NSString * queryId; @end @interface WokSearchService_fullRecordData : BDSKSoapElement { @@ -214,13 +215,13 @@ } - (void)addOptionValue:(WokSearchService_labelValuesPair *)toAdd; @property (nonatomic, readonly) NSArray * optionValue; -@property (nonatomic, strong) NSString * records; +@property (nonatomic, nullable, strong) NSString * records; @end @interface WokSearchService_retrieveResponse : BDSKSoapElement { WokSearchService_fullRecordData * return_; } -@property (nonatomic, strong) WokSearchService_fullRecordData * return_; +@property (nonatomic, nullable, strong) WokSearchService_fullRecordData * return_; @end @interface WokSearchService_retrieveById : WokSearchServiceRequest { @@ -228,16 +229,16 @@ NSMutableArray *uid; NSString * queryLanguage; } -@property (nonatomic, strong) NSString * databaseId; +@property (nonatomic, nullable, strong) NSString * databaseId; - (void)addUid:(NSString *)toAdd; @property (nonatomic, readonly) NSArray * uid; -@property (nonatomic, strong) NSString * queryLanguage; +@property (nonatomic, nullable, strong) NSString * queryLanguage; @end @interface WokSearchService_retrieveByIdResponse : BDSKSoapElement { WokSearchService_fullRecordSearchResults * return_; } -@property (nonatomic, strong) WokSearchService_fullRecordSearchResults * return_; +@property (nonatomic, nullable, strong) WokSearchService_fullRecordSearchResults * return_; @end @interface WokSearchService_queryParameters : BDSKSoapElement { @@ -248,26 +249,28 @@ WokSearchService_timeSpan * timeSpan; NSString * queryLanguage; } -@property (nonatomic, strong) NSString * databaseId; -@property (nonatomic, strong) NSString * userQuery; +@property (nonatomic, nullable, strong) NSString * databaseId; +@property (nonatomic, nullable, strong) NSString * userQuery; - (void)addEditions:(WokSearchService_editionDesc *)toAdd; @property (nonatomic, readonly) NSArray * editions; -@property (nonatomic, strong) NSString * symbolicTimeSpan; -@property (nonatomic, strong) WokSearchService_timeSpan * timeSpan; -@property (nonatomic, strong) NSString * queryLanguage; +@property (nonatomic, nullable, strong) NSString * symbolicTimeSpan; +@property (nonatomic, nullable, strong) WokSearchService_timeSpan * timeSpan; +@property (nonatomic, nullable, strong) NSString * queryLanguage; @end @interface WokSearchService_search : WokSearchServiceRequest { WokSearchService_queryParameters * queryParameters; } -@property (nonatomic, strong) WokSearchService_queryParameters * queryParameters; +@property (nonatomic, nullable, strong) WokSearchService_queryParameters * queryParameters; @end @interface WokSearchService_searchResponse : BDSKSoapElement { WokSearchService_fullRecordSearchResults * return_; } -@property (nonatomic, strong) WokSearchService_fullRecordSearchResults * return_; +@property (nonatomic, nullable, strong) WokSearchService_fullRecordSearchResults * return_; @end @interface WokSearchService : BDSKSoapBinding @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