From 778b874c56d0ea8d07628001d51c2a0642fcfb02 Mon Sep 17 00:00:00 2001 From: Darryl Pogue Date: Sat, 14 Dec 2024 01:34:06 -0800 Subject: [PATCH] fix(scrollview): Add nullable attribute to scrollView property --- CordovaLib/include/Cordova/CDVPlugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CordovaLib/include/Cordova/CDVPlugin.h b/CordovaLib/include/Cordova/CDVPlugin.h index 4fad01c50..95e751270 100644 --- a/CordovaLib/include/Cordova/CDVPlugin.h +++ b/CordovaLib/include/Cordova/CDVPlugin.h @@ -38,7 +38,7 @@ typedef int CDVWebViewNavigationType; // the exposed Swift API and marking it as deprecated // TODO: Remove in Cordova 9 @interface UIView (org_apache_cordova_UIView_Extension) -@property (nonatomic, weak) UIScrollView* scrollView CDV_DEPRECATED(8, "Check for a scrollView property on the view object at runtime and invoke it dynamically."); +@property (nonatomic, weak, nullable) UIScrollView* scrollView CDV_DEPRECATED(8, "Check for a scrollView property on the view object at runtime and invoke it dynamically."); @end #endif