Revision: 29048
http://sourceforge.net/p/bibdesk/svn/29048
Author: hofman
Date: 2025-02-22 17:53:45 +0000 (Sat, 22 Feb 2025)
Log Message:
-----------
explicitly declare all weak property as nullable
Modified Paths:
--------------
trunk/bibdesk/BDSKConditionController.h
trunk/bibdesk/BDSKTextViewCompletionController.m
trunk/bibdesk/BDSKWebView.m
trunk/bibdesk/NSAttributedString+Scripting.h
Modified: trunk/bibdesk/BDSKConditionController.h
===================================================================
--- trunk/bibdesk/BDSKConditionController.h 2025-02-22 17:15:20 UTC (rev
29047)
+++ trunk/bibdesk/BDSKConditionController.h 2025-02-22 17:53:45 UTC (rev
29048)
@@ -104,7 +104,7 @@
- (IBAction)changeRating:(nullable id)sender;
-@property (nonatomic, weak) BDSKFilterController *filterController;
+@property (nonatomic, nullable, weak) BDSKFilterController *filterController;
@property (nonatomic, nullable, readonly) BDSKCondition *condition;
Modified: trunk/bibdesk/BDSKTextViewCompletionController.m
===================================================================
--- trunk/bibdesk/BDSKTextViewCompletionController.m 2025-02-22 17:15:20 UTC
(rev 29047)
+++ trunk/bibdesk/BDSKTextViewCompletionController.m 2025-02-22 17:53:45 UTC
(rev 29048)
@@ -59,7 +59,7 @@
@property (nonatomic, strong) NSTextView *currentTextView;
@property (nonatomic, copy) NSString *originalString;
// do not retain!
-@property (nonatomic, weak) NSWindow *textViewWindow;
+@property (nonatomic, nullable, weak) NSWindow *textViewWindow;
@property (nonatomic, copy) NSArray *completions;
@end
Modified: trunk/bibdesk/BDSKWebView.m
===================================================================
--- trunk/bibdesk/BDSKWebView.m 2025-02-22 17:15:20 UTC (rev 29047)
+++ trunk/bibdesk/BDSKWebView.m 2025-02-22 17:53:45 UTC (rev 29048)
@@ -58,8 +58,8 @@
NSUndoManager *undoManager;
}
-@property (nonatomic, weak) id<BDSKWebViewDelegate> delegate;
-@property (nonatomic, weak) id<BDSKWebViewNavigationDelegate>
navigationDelegate;
+@property (nonatomic, nullable, weak) id<BDSKWebViewDelegate> delegate;
+@property (nonatomic, nullable, weak) id<BDSKWebViewNavigationDelegate>
navigationDelegate;
@end
Modified: trunk/bibdesk/NSAttributedString+Scripting.h
===================================================================
--- trunk/bibdesk/NSAttributedString+Scripting.h 2025-02-22 17:15:20 UTC
(rev 29047)
+++ trunk/bibdesk/NSAttributedString+Scripting.h 2025-02-22 17:53:45 UTC
(rev 29048)
@@ -53,7 +53,7 @@
@interface NSTextStorage (BDSKScripting)
-@property (nonatomic, weak) id scriptingRTF;
+@property (nonatomic, unsafe_unretained) id scriptingRTF;
@end
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