@nstudio/nativescript-compiler 9.2.0-alpha.18 → 9.2.0-alpha.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/config.js +1 -0
  2. package/dist/kotlin/arguments.js +6 -0
  3. package/dist/kotlin/class-methods.js +4 -4
  4. package/dist/kotlin/overrides.js +1 -1
  5. package/dist/kotlin/placement.js +23 -2
  6. package/dist/kotlin/untyped-values.js +5 -0
  7. package/dist/semantics/conversion.js +9 -1
  8. package/dist/semantics/runtime.js +1 -0
  9. package/dist/semantics/signals.js +1 -1
  10. package/dist/semantics/throws.js +1 -1
  11. package/dist/swift/arguments.js +14 -9
  12. package/dist/swift/assignment.js +6 -1
  13. package/dist/swift/calls.js +7 -2
  14. package/dist/swift/class-methods.js +2 -1
  15. package/dist/swift/library.js +2 -2
  16. package/dist/swift/method-values.js +2 -1
  17. package/dist/swift/names.js +4 -4
  18. package/dist/swift/native/calls.js +9 -3
  19. package/dist/swift/placement.js +18 -3
  20. package/dist/swift/static-calls.js +1 -1
  21. package/dist/swift/syntax.js +1 -1
  22. package/dist/swift/types.js +2 -2
  23. package/kit-android/generated/kotlin/org/nativescript/kit/data_observable_array_index.kt +8 -0
  24. package/kit-android/generated/kotlin/org/nativescript/kit/data_observable_index.kt +16 -0
  25. package/kit-android/generated/kotlin/org/nativescript/kit/ui_builder_index.kt +2 -0
  26. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_properties_index.kt +38 -37
  27. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_base_index.kt +9 -0
  28. package/kit-android/generated/source-lines.json +1 -1
  29. package/kit-android/src/fromcore/kotlin/org/nativescript/kit/NativeScriptApplication.kt +9 -0
  30. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Dynamic.kt +28 -13
  31. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Language.kt +10 -2
  32. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Values.kt +11 -10
  33. package/kit-apple/Overlays/xml-free/Core/ui.builder.index.swift +6 -2
  34. package/kit-apple/Sources/NativeScriptKit/Core/data.observable-array.index.swift +1 -1
  35. package/kit-apple/Sources/NativeScriptKit/Core/file-system.file-system-access.ios.swift +7 -7
  36. package/kit-apple/Sources/NativeScriptKit/Core/file-system.index.swift +10 -10
  37. package/kit-apple/Sources/NativeScriptKit/Core/http.http-request-internal.index.ios.swift +1 -1
  38. package/kit-apple/Sources/NativeScriptKit/Core/http.index.swift +3 -3
  39. package/kit-apple/Sources/NativeScriptKit/Core/image-source.index.ios.swift +2 -2
  40. package/kit-apple/Sources/NativeScriptKit/Core/js-libs.easysax.easysax.swift +4 -22
  41. package/kit-apple/Sources/NativeScriptKit/Core/kit-index.json +2 -1
  42. package/kit-apple/Sources/NativeScriptKit/Core/ui.action-bar.index.ios.swift +33 -21
  43. package/kit-apple/Sources/NativeScriptKit/Core/ui.activity-indicator.index.ios.swift +12 -6
  44. package/kit-apple/Sources/NativeScriptKit/Core/ui.animation.keyframe-animation.swift +1 -1
  45. package/kit-apple/Sources/NativeScriptKit/Core/ui.builder.index.swift +6 -2
  46. package/kit-apple/Sources/NativeScriptKit/Core/ui.button.index.ios.swift +14 -13
  47. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.properties.index.swift +8 -7
  48. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view.index.ios.swift +79 -59
  49. package/kit-apple/Sources/NativeScriptKit/Core/ui.date-picker.index.ios.swift +17 -16
  50. package/kit-apple/Sources/NativeScriptKit/Core/ui.dialogs.index.ios.swift +2 -2
  51. package/kit-apple/Sources/NativeScriptKit/Core/ui.editable-text-base.index.ios.swift +27 -18
  52. package/kit-apple/Sources/NativeScriptKit/Core/ui.html-view.index.ios.swift +9 -9
  53. package/kit-apple/Sources/NativeScriptKit/Core/ui.image.index.ios.swift +6 -6
  54. package/kit-apple/Sources/NativeScriptKit/Core/ui.label.index.ios.swift +8 -8
  55. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.layout-base.ios.swift +4 -3
  56. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.liquid-glass-container.index.ios.swift +1 -1
  57. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.liquid-glass.index.ios.swift +1 -1
  58. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.root-layout.index.ios.swift +2 -2
  59. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.root-layout.root-layout-common.swift +9 -9
  60. package/kit-apple/Sources/NativeScriptKit/Core/ui.list-picker.index.ios.swift +9 -6
  61. package/kit-apple/Sources/NativeScriptKit/Core/ui.list-view.index.ios.swift +38 -20
  62. package/kit-apple/Sources/NativeScriptKit/Core/ui.page.index.ios.swift +2 -2
  63. package/kit-apple/Sources/NativeScriptKit/Core/ui.progress.index.ios.swift +12 -10
  64. package/kit-apple/Sources/NativeScriptKit/Core/ui.scroll-view.index.ios.swift +18 -9
  65. package/kit-apple/Sources/NativeScriptKit/Core/ui.search-bar.index.ios.swift +28 -18
  66. package/kit-apple/Sources/NativeScriptKit/Core/ui.segmented-bar.index.ios.swift +19 -12
  67. package/kit-apple/Sources/NativeScriptKit/Core/ui.slider.index.ios.swift +14 -12
  68. package/kit-apple/Sources/NativeScriptKit/Core/ui.split-view.index.ios.swift +14 -9
  69. package/kit-apple/Sources/NativeScriptKit/Core/ui.switch.index.ios.swift +12 -10
  70. package/kit-apple/Sources/NativeScriptKit/Core/ui.tab-view.index.ios.swift +36 -20
  71. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-base.formatted-string.swift +2 -2
  72. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-base.index.ios.swift +25 -22
  73. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-base.text-base-common.swift +2 -3
  74. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-field.index.ios.swift +21 -14
  75. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-view.index.ios.swift +33 -21
  76. package/kit-apple/Sources/NativeScriptKit/Core/ui.time-picker.index.ios.swift +22 -18
  77. package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.shared-transition-helper.ios.swift +15 -15
  78. package/kit-apple/Sources/NativeScriptKit/Core/ui.web-view.index.ios.swift +1 -1
  79. package/kit-apple/Sources/NativeScriptKit/Core/ui.web-view.web-view-common.swift +2 -2
  80. package/kit-apple/Sources/NativeScriptKit/Core/utils.index.ios.swift +2 -2
  81. package/kit-apple/Sources/NativeScriptKit/Runtime/Dynamic.swift +6 -2
  82. package/kit-apple/Sources/NativeScriptKit/Runtime/Functions.swift +3 -1
  83. package/kit-apple/Sources/NativeScriptKit/Runtime/Native.swift +2 -1
  84. package/kit-apple/Sources/NativeScriptKit/Runtime/Values.swift +5 -2
  85. package/package.json +5 -3
@@ -85,44 +85,44 @@ open class HtmlView: HtmlViewBase {
85
85
  }
86
86
  #sourceLocation()
87
87
  open override func jsSymbolMethod(_ key: String) -> JSMethod? {
88
- if key == ((Core_ui_html_view_html_view_common.htmlProperty?.getDefault)?.key ?? "undefined") {
88
+ if key == (try? ((Core_ui_html_view_html_view_common.htmlProperty?.getDefault)?.key ?? "undefined")) {
89
89
  return { __this, __a in return try (jsCastPresent(__this) as HtmlView).symbol_getDefault_html() }
90
90
  }
91
- if key == ((Core_ui_html_view_html_view_common.htmlProperty?.setNative)?.key ?? "undefined") {
91
+ if key == (try? ((Core_ui_html_view_html_view_common.htmlProperty?.setNative)?.key ?? "undefined")) {
92
92
  return { __this, __a in
93
93
  try (jsCastPresent(__this) as HtmlView).symbol_setNative_html("")
94
94
  return nil
95
95
  }
96
96
  }
97
- if key == ((Core_ui_html_view_html_view_common.selectableProperty?.getDefault)?.key ?? "undefined") {
97
+ if key == (try? ((Core_ui_html_view_html_view_common.selectableProperty?.getDefault)?.key ?? "undefined")) {
98
98
  return { __this, __a in return try (jsCastPresent(__this) as HtmlView).symbol_getDefault_selectable() }
99
99
  }
100
- if key == ((Core_ui_html_view_html_view_common.selectableProperty?.setNative)?.key ?? "undefined") {
100
+ if key == (try? ((Core_ui_html_view_html_view_common.selectableProperty?.setNative)?.key ?? "undefined")) {
101
101
  return { __this, __a in
102
102
  try (jsCastPresent(__this) as HtmlView).symbol_setNative_selectable(
103
103
  (try jsConvertedBool(jsArg(__a, 0))))
104
104
  return nil
105
105
  }
106
106
  }
107
- if key == ((Core_ui_styling_style_properties.colorProperty?.getDefault)?.key ?? "undefined") {
107
+ if key == (try? ((Core_ui_styling_style_properties.colorProperty?.getDefault)?.key ?? "undefined")) {
108
108
  return { __this, __a in return try (jsCastPresent(__this) as HtmlView).symbol_getDefault_color() }
109
109
  }
110
- if key == ((Core_ui_styling_style_properties.colorProperty?.setNative)?.key ?? "undefined") {
110
+ if key == (try? ((Core_ui_styling_style_properties.colorProperty?.setNative)?.key ?? "undefined")) {
111
111
  return { __this, __a in
112
112
  try (jsCastPresent(__this) as HtmlView).symbol_setNative_color(jsArg(__a, 0))
113
113
  return nil
114
114
  }
115
115
  }
116
- if key == ((Core_ui_html_view_html_view_common.linkColorProperty?.setNative)?.key ?? "undefined") {
116
+ if key == (try? ((Core_ui_html_view_html_view_common.linkColorProperty?.setNative)?.key ?? "undefined")) {
117
117
  return { __this, __a in
118
118
  try (jsCastPresent(__this) as HtmlView).symbol_setNative_linkColor(nil)
119
119
  return nil
120
120
  }
121
121
  }
122
- if key == ((Core_ui_styling_style_properties.fontInternalProperty?.getDefault)?.key ?? "undefined") {
122
+ if key == (try? ((Core_ui_styling_style_properties.fontInternalProperty?.getDefault)?.key ?? "undefined")) {
123
123
  return { __this, __a in return try (jsCastPresent(__this) as HtmlView).symbol_getDefault_fontInternal() }
124
124
  }
125
- if key == ((Core_ui_styling_style_properties.fontInternalProperty?.setNative)?.key ?? "undefined") {
125
+ if key == (try? ((Core_ui_styling_style_properties.fontInternalProperty?.setNative)?.key ?? "undefined")) {
126
126
  return { __this, __a in
127
127
  try (jsCastPresent(__this) as HtmlView).symbol_setNative_fontInternal(jsArg(__a, 0))
128
128
  return nil
@@ -121,38 +121,38 @@ open class Image: ImageBase {
121
121
  }
122
122
  #sourceLocation()
123
123
  open override func jsSymbolMethod(_ key: String) -> JSMethod? {
124
- if key == ((Core_ui_image_image_common.stretchProperty?.setNative)?.key ?? "undefined") {
124
+ if key == (try? ((Core_ui_image_image_common.stretchProperty?.setNative)?.key ?? "undefined")) {
125
125
  return { __this, __a in
126
126
  try (jsCastPresent(__this) as Image).symbol_setNative_stretch((try jsConvertedString(jsArg(__a, 0))))
127
127
  return nil
128
128
  }
129
129
  }
130
- if key == ((Core_ui_image_image_common.tintColorProperty?.setNative)?.key ?? "undefined") {
130
+ if key == (try? ((Core_ui_image_image_common.tintColorProperty?.setNative)?.key ?? "undefined")) {
131
131
  return { __this, __a in
132
132
  try (jsCastPresent(__this) as Image).symbol_setNative_tintColor((try jsCast(jsArg(__a, 0), Color.self)))
133
133
  return nil
134
134
  }
135
135
  }
136
- if key == ((Core_ui_image_image_common.imageSourceProperty?.setNative)?.key ?? "undefined") {
136
+ if key == (try? ((Core_ui_image_image_common.imageSourceProperty?.setNative)?.key ?? "undefined")) {
137
137
  return { __this, __a in
138
138
  try (jsCastPresent(__this) as Image).symbol_setNative_imageSource(
139
139
  (try jsCast(jsArg(__a, 0), ImageSource.self)))
140
140
  return nil
141
141
  }
142
142
  }
143
- if key == ((Core_ui_image_image_common.srcProperty?.setNative)?.key ?? "undefined") {
143
+ if key == (try? ((Core_ui_image_image_common.srcProperty?.setNative)?.key ?? "undefined")) {
144
144
  return { __this, __a in
145
145
  try (jsCastPresent(__this) as Image).symbol_setNative_src(jsArg(__a, 0))
146
146
  return nil
147
147
  }
148
148
  }
149
- if key == ((Core_ui_image_image_common.iosSymbolEffectProperty?.setNative)?.key ?? "undefined") {
149
+ if key == (try? ((Core_ui_image_image_common.iosSymbolEffectProperty?.setNative)?.key ?? "undefined")) {
150
150
  return { __this, __a in
151
151
  try (jsCastPresent(__this) as Image).symbol_setNative_iosSymbolEffect(jsArg(__a, 0))
152
152
  return nil
153
153
  }
154
154
  }
155
- if key == ((Core_ui_image_image_common.iosSymbolScaleProperty?.setNative)?.key ?? "undefined") {
155
+ if key == (try? ((Core_ui_image_image_common.iosSymbolScaleProperty?.setNative)?.key ?? "undefined")) {
156
156
  return { __this, __a in
157
157
  try (jsCastPresent(__this) as Image).symbol_setNative_iosSymbolScale("")
158
158
  return nil
@@ -146,50 +146,50 @@ open class Label: TextBase {
146
146
  }
147
147
  #sourceLocation()
148
148
  open override func jsSymbolMethod(_ key: String) -> JSMethod? {
149
- if key == ((Core_ui_text_base_text_base_common.whiteSpaceProperty?.setNative)?.key ?? "undefined") {
149
+ if key == (try? ((Core_ui_text_base_text_base_common.whiteSpaceProperty?.setNative)?.key ?? "undefined")) {
150
150
  return { __this, __a in
151
151
  try (jsCastPresent(__this) as Label).symbol_setNative_whiteSpace("")
152
152
  return nil
153
153
  }
154
154
  }
155
- if key == ((Core_ui_text_base_text_base_common.textOverflowProperty?.setNative)?.key ?? "undefined") {
155
+ if key == (try? ((Core_ui_text_base_text_base_common.textOverflowProperty?.setNative)?.key ?? "undefined")) {
156
156
  return { __this, __a in
157
157
  try (jsCastPresent(__this) as Label).symbol_setNative_textOverflow("")
158
158
  return nil
159
159
  }
160
160
  }
161
- if key == ((Core_ui_styling_style_properties.directionProperty?.setNative)?.key ?? "undefined") {
161
+ if key == (try? ((Core_ui_styling_style_properties.directionProperty?.setNative)?.key ?? "undefined")) {
162
162
  return { __this, __a in
163
163
  try (jsCastPresent(__this) as Label).symbol_setNative_direction_Label(
164
164
  (try jsConvertedString(jsArg(__a, 0))))
165
165
  return nil
166
166
  }
167
167
  }
168
- if key == ((Core_ui_styling_style_properties.borderTopWidthProperty?.setNative)?.key ?? "undefined") {
168
+ if key == (try? ((Core_ui_styling_style_properties.borderTopWidthProperty?.setNative)?.key ?? "undefined")) {
169
169
  return { __this, __a in
170
170
  try (jsCastPresent(__this) as Label).symbol_setNative_borderTopWidth(nil)
171
171
  return nil
172
172
  }
173
173
  }
174
- if key == ((Core_ui_styling_style_properties.borderRightWidthProperty?.setNative)?.key ?? "undefined") {
174
+ if key == (try? ((Core_ui_styling_style_properties.borderRightWidthProperty?.setNative)?.key ?? "undefined")) {
175
175
  return { __this, __a in
176
176
  try (jsCastPresent(__this) as Label).symbol_setNative_borderRightWidth(nil)
177
177
  return nil
178
178
  }
179
179
  }
180
- if key == ((Core_ui_styling_style_properties.borderBottomWidthProperty?.setNative)?.key ?? "undefined") {
180
+ if key == (try? ((Core_ui_styling_style_properties.borderBottomWidthProperty?.setNative)?.key ?? "undefined")) {
181
181
  return { __this, __a in
182
182
  try (jsCastPresent(__this) as Label).symbol_setNative_borderBottomWidth(nil)
183
183
  return nil
184
184
  }
185
185
  }
186
- if key == ((Core_ui_styling_style_properties.borderLeftWidthProperty?.setNative)?.key ?? "undefined") {
186
+ if key == (try? ((Core_ui_styling_style_properties.borderLeftWidthProperty?.setNative)?.key ?? "undefined")) {
187
187
  return { __this, __a in
188
188
  try (jsCastPresent(__this) as Label).symbol_setNative_borderLeftWidth(nil)
189
189
  return nil
190
190
  }
191
191
  }
192
- if key == ((Core_ui_styling_style_properties.paddingInternalProperty?.setNative)?.key ?? "undefined") {
192
+ if key == (try? ((Core_ui_styling_style_properties.paddingInternalProperty?.setNative)?.key ?? "undefined")) {
193
193
  return { __this, __a in
194
194
  try (jsCastPresent(__this) as Label).symbol_setNative_paddingInternal("")
195
195
  return nil
@@ -37,17 +37,18 @@ open class LayoutBase: LayoutBaseCommon {
37
37
  }
38
38
  #sourceLocation()
39
39
  open override func jsSymbolMethod(_ key: String) -> JSMethod? {
40
- if key == ((Core_ui_layouts_layout_base_common.clipToBoundsProperty?.getDefault)?.key ?? "undefined") {
40
+ if key == (try? ((Core_ui_layouts_layout_base_common.clipToBoundsProperty?.getDefault)?.key ?? "undefined")) {
41
41
  return { __this, __a in return try (jsCastPresent(__this) as LayoutBase).symbol_getDefault_clipToBounds() }
42
42
  }
43
- if key == ((Core_ui_layouts_layout_base_common.clipToBoundsProperty?.setNative)?.key ?? "undefined") {
43
+ if key == (try? ((Core_ui_layouts_layout_base_common.clipToBoundsProperty?.setNative)?.key ?? "undefined")) {
44
44
  return { __this, __a in
45
45
  try (jsCastPresent(__this) as LayoutBase).symbol_setNative_clipToBounds(false)
46
46
  return nil
47
47
  }
48
48
  }
49
49
  if key
50
- == ((Core_ui_layouts_layout_base_common.isPassThroughParentEnabledProperty?.setNative)?.key ?? "undefined")
50
+ == (try?
51
+ ((Core_ui_layouts_layout_base_common.isPassThroughParentEnabledProperty?.setNative)?.key ?? "undefined"))
51
52
  {
52
53
  return { __this, __a in
53
54
  try (jsCastPresent(__this) as LayoutBase).symbol_setNative_isPassThroughParentEnabled(
@@ -43,7 +43,7 @@ open class LiquidGlassContainer: LiquidGlassContainerCommon {
43
43
  }
44
44
  #sourceLocation()
45
45
  open override func jsSymbolMethod(_ key: String) -> JSMethod? {
46
- if key == ((Core_ui_core_view_view_common.iosGlassEffectProperty?.setNative)?.key ?? "undefined") {
46
+ if key == (try? ((Core_ui_core_view_view_common.iosGlassEffectProperty?.setNative)?.key ?? "undefined")) {
47
47
  return { __this, __a in
48
48
  try (jsCastPresent(__this) as LiquidGlassContainer)
49
49
  .symbol_setNative_iosGlassEffect_LiquidGlassContainer(jsArg(__a, 0))
@@ -41,7 +41,7 @@ open class LiquidGlass: LiquidGlassCommon {
41
41
  }
42
42
  #sourceLocation()
43
43
  open override func jsSymbolMethod(_ key: String) -> JSMethod? {
44
- if key == ((Core_ui_core_view_view_common.iosGlassEffectProperty?.setNative)?.key ?? "undefined") {
44
+ if key == (try? ((Core_ui_core_view_view_common.iosGlassEffectProperty?.setNative)?.key ?? "undefined")) {
45
45
  return { __this, __a in
46
46
  try (jsCastPresent(__this) as LiquidGlass).symbol_setNative_iosGlassEffect_LiquidGlass(jsArg(__a, 0))
47
47
  return nil
@@ -149,7 +149,7 @@ open class RootLayout: RootLayoutBase {
149
149
  try
150
150
  ({ (completed: Bool) throws -> Void in
151
151
  #sourceLocation(file:"@nativescript/core/ui.layouts.root-layout.index.ios.ts",line:75)
152
- __resolvers1.resolve()
152
+ try __resolvers1.resolve()
153
153
  })(completed)
154
154
  }
155
155
  })
@@ -194,7 +194,7 @@ open class RootLayout: RootLayoutBase {
194
194
  try
195
195
  ({ (completed: Bool) throws -> Void in
196
196
  #sourceLocation(file:"@nativescript/core/ui.layouts.root-layout.index.ios.ts",line:96)
197
- __resolvers2.resolve()
197
+ try __resolvers2.resolve()
198
198
  })(completed)
199
199
  }
200
200
  })
@@ -139,7 +139,7 @@ open class RootLayoutBase: GridLayout {
139
139
  ("eventName", "opened"), ("object", view),
140
140
  ]))))
141
141
  #sourceLocation(file:"@nativescript/core/ui.layouts.root-layout.root-layout-common.ts",line:94)
142
- __resolvers2.resolve()
142
+ try __resolvers2.resolve()
143
143
  }),
144
144
  FunctionCell_AnyOpt_to_Void.scriptOrNil(
145
145
  "", 1,
@@ -157,7 +157,7 @@ open class RootLayoutBase: GridLayout {
157
157
  _ = try jsUnwrap(JSPromise<Any?>.all(toOpen), "then").then(
158
158
  { (_ __unused: JSArray<Any?>) throws -> Void in
159
159
  #sourceLocation(file:"@nativescript/core/ui.layouts.root-layout.root-layout-common.ts",line:106)
160
- __resolvers1.resolve()
160
+ try __resolvers1.resolve()
161
161
  },
162
162
  { (err: Any?) throws -> Void in
163
163
  #sourceLocation(file:"@nativescript/core/ui.layouts.root-layout.root-layout-common.ts",line:109)
@@ -203,7 +203,7 @@ open class RootLayoutBase: GridLayout {
203
203
  #sourceLocation(file:"@nativescript/core/ui.layouts.root-layout.root-layout-common.ts",line:138)
204
204
  try self.removeChild(view)
205
205
  #sourceLocation(file:"@nativescript/core/ui.layouts.root-layout.root-layout-common.ts",line:139)
206
- __resolvers3.resolve()
206
+ try __resolvers3.resolve()
207
207
  }
208
208
  #sourceLocation(file:"@nativescript/core/ui.layouts.root-layout.root-layout-common.ts",line:142)
209
209
  let exitAnimationDefinition: Any? = try
@@ -240,7 +240,7 @@ open class RootLayoutBase: GridLayout {
240
240
  ) { _ in () }
241
241
  } else {
242
242
  #sourceLocation(file:"@nativescript/core/ui.layouts.root-layout.root-layout-common.ts",line:158)
243
- __resolvers4.resolve()
243
+ try __resolvers4.resolve()
244
244
  }
245
245
  })
246
246
  #sourceLocation(file:"@nativescript/core/ui.layouts.root-layout.root-layout-common.ts",line:163)
@@ -342,7 +342,7 @@ open class RootLayoutBase: GridLayout {
342
342
  NativeScriptKit.Trace.messageType.warn)
343
343
  }
344
344
  #sourceLocation(file:"@nativescript/core/ui.layouts.root-layout.root-layout-common.ts",line:227)
345
- __resolvers5.resolve()
345
+ try __resolvers5.resolve()
346
346
  } else {
347
347
  #sourceLocation(file:"@nativescript/core/ui.layouts.root-layout.root-layout-common.ts",line:230)
348
348
  let shadeCover: View? = try self.createShadeCover()
@@ -355,7 +355,7 @@ open class RootLayoutBase: GridLayout {
355
355
  #sourceLocation(file:"@nativescript/core/ui.layouts.root-layout.root-layout-common.ts",line:233)
356
356
  _ = try jsUnwrap(self.updateShadeCover(shadeCover, options), "then").then({ () throws -> Void in
357
357
  #sourceLocation(file:"@nativescript/core/ui.layouts.root-layout.root-layout-common.ts",line:234)
358
- __resolvers5.resolve()
358
+ try __resolvers5.resolve()
359
359
  })
360
360
  })
361
361
  #sourceLocation(file:"@nativescript/core/ui.layouts.root-layout.root-layout-common.ts",line:238)
@@ -393,12 +393,12 @@ open class RootLayoutBase: GridLayout {
393
393
  #sourceLocation(file:"@nativescript/core/ui.layouts.root-layout.root-layout-common.ts",line:258)
394
394
  try self._cleanupPlatformShadeCover()
395
395
  #sourceLocation(file:"@nativescript/core/ui.layouts.root-layout.root-layout-common.ts",line:259)
396
- __resolvers6.resolve()
396
+ try __resolvers6.resolve()
397
397
  }))
398
398
  return
399
399
  }
400
400
  #sourceLocation(file:"@nativescript/core/ui.layouts.root-layout.root-layout-common.ts",line:262)
401
- __resolvers6.resolve()
401
+ try __resolvers6.resolve()
402
402
  }
403
403
  }
404
404
  #sourceLocation()
@@ -519,7 +519,7 @@ open class RootLayoutBase: GridLayout {
519
519
  _ = try self.updateShadeCover(self._shadeCover, shadeCoverOptions)
520
520
  }
521
521
  #sourceLocation(file:"@nativescript/core/ui.layouts.root-layout.root-layout-common.ts",line:336)
522
- __resolvers7.resolve()
522
+ try __resolvers7.resolve()
523
523
  }
524
524
  }
525
525
  #sourceLocation()
@@ -71,29 +71,32 @@ open class ListPicker: ListPickerBase {
71
71
  }
72
72
  #sourceLocation()
73
73
  open override func jsSymbolMethod(_ key: String) -> JSMethod? {
74
- if key == ((Core_ui_list_picker_list_picker_common.selectedIndexProperty?.getDefault)?.key ?? "undefined") {
74
+ if key
75
+ == (try? ((Core_ui_list_picker_list_picker_common.selectedIndexProperty?.getDefault)?.key ?? "undefined"))
76
+ {
75
77
  return { __this, __a in return try (jsCastPresent(__this) as ListPicker).symbol_getDefault_selectedIndex() }
76
78
  }
77
- if key == ((Core_ui_list_picker_list_picker_common.selectedIndexProperty?.setNative)?.key ?? "undefined") {
79
+ if key == (try? ((Core_ui_list_picker_list_picker_common.selectedIndexProperty?.setNative)?.key ?? "undefined"))
80
+ {
78
81
  return { __this, __a in
79
82
  try (jsCastPresent(__this) as ListPicker).symbol_setNative_selectedIndex(
80
83
  (try jsConvertedNumber(jsArg(__a, 0))))
81
84
  return nil
82
85
  }
83
86
  }
84
- if key == ((Core_ui_list_picker_list_picker_common.itemsProperty?.getDefault)?.key ?? "undefined") {
87
+ if key == (try? ((Core_ui_list_picker_list_picker_common.itemsProperty?.getDefault)?.key ?? "undefined")) {
85
88
  return { __this, __a in return try (jsCastPresent(__this) as ListPicker).symbol_getDefault_items() }
86
89
  }
87
- if key == ((Core_ui_list_picker_list_picker_common.itemsProperty?.setNative)?.key ?? "undefined") {
90
+ if key == (try? ((Core_ui_list_picker_list_picker_common.itemsProperty?.setNative)?.key ?? "undefined")) {
88
91
  return { __this, __a in
89
92
  try (jsCastPresent(__this) as ListPicker).symbol_setNative_items(nil)
90
93
  return nil
91
94
  }
92
95
  }
93
- if key == ((Core_ui_styling_style_properties.colorProperty?.getDefault)?.key ?? "undefined") {
96
+ if key == (try? ((Core_ui_styling_style_properties.colorProperty?.getDefault)?.key ?? "undefined")) {
94
97
  return { __this, __a in return try (jsCastPresent(__this) as ListPicker).symbol_getDefault_color() }
95
98
  }
96
- if key == ((Core_ui_styling_style_properties.colorProperty?.setNative)?.key ?? "undefined") {
99
+ if key == (try? ((Core_ui_styling_style_properties.colorProperty?.setNative)?.key ?? "undefined")) {
97
100
  return { __this, __a in
98
101
  try (jsCastPresent(__this) as ListPicker).symbol_setNative_color(jsArg(__a, 0))
99
102
  return nil
@@ -1154,105 +1154,123 @@ open class ListView: ListViewBase {
1154
1154
  }
1155
1155
  #sourceLocation()
1156
1156
  open override func jsSymbolMethod(_ key: String) -> JSMethod? {
1157
- if key == ((Core_ui_list_view_list_view_common.separatorColorProperty?.getDefault)?.key ?? "undefined") {
1157
+ if key == (try? ((Core_ui_list_view_list_view_common.separatorColorProperty?.getDefault)?.key ?? "undefined")) {
1158
1158
  return { __this, __a in return try (jsCastPresent(__this) as ListView).symbol_getDefault_separatorColor() }
1159
1159
  }
1160
- if key == ((Core_ui_list_view_list_view_common.separatorColorProperty?.setNative)?.key ?? "undefined") {
1160
+ if key == (try? ((Core_ui_list_view_list_view_common.separatorColorProperty?.setNative)?.key ?? "undefined")) {
1161
1161
  return { __this, __a in
1162
1162
  try (jsCastPresent(__this) as ListView).symbol_setNative_separatorColor(jsArg(__a, 0))
1163
1163
  return nil
1164
1164
  }
1165
1165
  }
1166
- if key == ((Core_ui_list_view_list_view_common.itemTemplatesProperty?.getDefault)?.key ?? "undefined") {
1166
+ if key == (try? ((Core_ui_list_view_list_view_common.itemTemplatesProperty?.getDefault)?.key ?? "undefined")) {
1167
1167
  return { __this, __a in return try (jsCastPresent(__this) as ListView).symbol_getDefault_itemTemplates() }
1168
1168
  }
1169
- if key == ((Core_ui_list_view_list_view_common.itemTemplatesProperty?.setNative)?.key ?? "undefined") {
1169
+ if key == (try? ((Core_ui_list_view_list_view_common.itemTemplatesProperty?.setNative)?.key ?? "undefined")) {
1170
1170
  return { __this, __a in
1171
1171
  try (jsCastPresent(__this) as ListView).symbol_setNative_itemTemplates(
1172
1172
  jsArrayOrNil(jsArg(__a, 0), as: JSArray<Any?>.self, { $0 }))
1173
1173
  return nil
1174
1174
  }
1175
1175
  }
1176
- if key == ((Core_ui_list_view_list_view_common.iosEstimatedRowHeightProperty?.getDefault)?.key ?? "undefined") {
1176
+ if key
1177
+ == (try?
1178
+ ((Core_ui_list_view_list_view_common.iosEstimatedRowHeightProperty?.getDefault)?.key ?? "undefined"))
1179
+ {
1177
1180
  return { __this, __a in
1178
1181
  return try (jsCastPresent(__this) as ListView).symbol_getDefault_iosEstimatedRowHeight()
1179
1182
  }
1180
1183
  }
1181
- if key == ((Core_ui_list_view_list_view_common.iosEstimatedRowHeightProperty?.setNative)?.key ?? "undefined") {
1184
+ if key
1185
+ == (try? ((Core_ui_list_view_list_view_common.iosEstimatedRowHeightProperty?.setNative)?.key ?? "undefined"))
1186
+ {
1182
1187
  return { __this, __a in
1183
1188
  try (jsCastPresent(__this) as ListView).symbol_setNative_iosEstimatedRowHeight(jsArg(__a, 0))
1184
1189
  return nil
1185
1190
  }
1186
1191
  }
1187
- if key == ((Core_ui_list_view_list_view_common.stickyHeaderProperty?.getDefault)?.key ?? "undefined") {
1192
+ if key == (try? ((Core_ui_list_view_list_view_common.stickyHeaderProperty?.getDefault)?.key ?? "undefined")) {
1188
1193
  return { __this, __a in return try (jsCastPresent(__this) as ListView).symbol_getDefault_stickyHeader() }
1189
1194
  }
1190
- if key == ((Core_ui_list_view_list_view_common.stickyHeaderProperty?.setNative)?.key ?? "undefined") {
1195
+ if key == (try? ((Core_ui_list_view_list_view_common.stickyHeaderProperty?.setNative)?.key ?? "undefined")) {
1191
1196
  return { __this, __a in
1192
1197
  try (jsCastPresent(__this) as ListView).symbol_setNative_stickyHeader(
1193
1198
  (try jsConvertedBool(jsArg(__a, 0))))
1194
1199
  return nil
1195
1200
  }
1196
1201
  }
1197
- if key == ((Core_ui_list_view_list_view_common.stickyHeaderTemplateProperty?.getDefault)?.key ?? "undefined") {
1202
+ if key
1203
+ == (try? ((Core_ui_list_view_list_view_common.stickyHeaderTemplateProperty?.getDefault)?.key ?? "undefined"))
1204
+ {
1198
1205
  return { __this, __a in
1199
1206
  return try (jsCastPresent(__this) as ListView).symbol_getDefault_stickyHeaderTemplate()
1200
1207
  }
1201
1208
  }
1202
- if key == ((Core_ui_list_view_list_view_common.stickyHeaderTemplateProperty?.setNative)?.key ?? "undefined") {
1209
+ if key
1210
+ == (try? ((Core_ui_list_view_list_view_common.stickyHeaderTemplateProperty?.setNative)?.key ?? "undefined"))
1211
+ {
1203
1212
  return { __this, __a in
1204
1213
  try (jsCastPresent(__this) as ListView).symbol_setNative_stickyHeaderTemplate(jsArg(__a, 0))
1205
1214
  return nil
1206
1215
  }
1207
1216
  }
1208
- if key == ((Core_ui_list_view_list_view_common.stickyHeaderHeightProperty?.getDefault)?.key ?? "undefined") {
1217
+ if key
1218
+ == (try? ((Core_ui_list_view_list_view_common.stickyHeaderHeightProperty?.getDefault)?.key ?? "undefined"))
1219
+ {
1209
1220
  return { __this, __a in
1210
1221
  return try (jsCastPresent(__this) as ListView).symbol_getDefault_stickyHeaderHeight()
1211
1222
  }
1212
1223
  }
1213
- if key == ((Core_ui_list_view_list_view_common.stickyHeaderHeightProperty?.setNative)?.key ?? "undefined") {
1224
+ if key
1225
+ == (try? ((Core_ui_list_view_list_view_common.stickyHeaderHeightProperty?.setNative)?.key ?? "undefined"))
1226
+ {
1214
1227
  return { __this, __a in
1215
1228
  try (jsCastPresent(__this) as ListView).symbol_setNative_stickyHeaderHeight(jsArg(__a, 0))
1216
1229
  return nil
1217
1230
  }
1218
1231
  }
1219
- if key == ((Core_ui_list_view_list_view_common.sectionedProperty?.getDefault)?.key ?? "undefined") {
1232
+ if key == (try? ((Core_ui_list_view_list_view_common.sectionedProperty?.getDefault)?.key ?? "undefined")) {
1220
1233
  return { __this, __a in return try (jsCastPresent(__this) as ListView).symbol_getDefault_sectioned() }
1221
1234
  }
1222
- if key == ((Core_ui_list_view_list_view_common.sectionedProperty?.setNative)?.key ?? "undefined") {
1235
+ if key == (try? ((Core_ui_list_view_list_view_common.sectionedProperty?.setNative)?.key ?? "undefined")) {
1223
1236
  return { __this, __a in
1224
1237
  try (jsCastPresent(__this) as ListView).symbol_setNative_sectioned((try jsConvertedBool(jsArg(__a, 0))))
1225
1238
  return nil
1226
1239
  }
1227
1240
  }
1228
- if key == ((Core_ui_list_view_list_view_common.showSearchProperty?.getDefault)?.key ?? "undefined") {
1241
+ if key == (try? ((Core_ui_list_view_list_view_common.showSearchProperty?.getDefault)?.key ?? "undefined")) {
1229
1242
  return { __this, __a in return try (jsCastPresent(__this) as ListView).symbol_getDefault_showSearch() }
1230
1243
  }
1231
- if key == ((Core_ui_list_view_list_view_common.showSearchProperty?.setNative)?.key ?? "undefined") {
1244
+ if key == (try? ((Core_ui_list_view_list_view_common.showSearchProperty?.setNative)?.key ?? "undefined")) {
1232
1245
  return { __this, __a in
1233
1246
  try (jsCastPresent(__this) as ListView).symbol_setNative_showSearch(
1234
1247
  (try jsConvertedBool(jsArg(__a, 0))))
1235
1248
  return nil
1236
1249
  }
1237
1250
  }
1238
- if key == ((Core_ui_list_view_list_view_common.iosSearchInsetBehaviorProperty?.setNative)?.key ?? "undefined") {
1251
+ if key
1252
+ == (try?
1253
+ ((Core_ui_list_view_list_view_common.iosSearchInsetBehaviorProperty?.setNative)?.key ?? "undefined"))
1254
+ {
1239
1255
  return { __this, __a in
1240
1256
  try (jsCastPresent(__this) as ListView).symbol_setNative_iosSearchInsetBehavior(
1241
1257
  (try jsConvertedString(jsArg(__a, 0))))
1242
1258
  return nil
1243
1259
  }
1244
1260
  }
1245
- if key == ((Core_ui_list_view_list_view_common.searchAutoHideProperty?.getDefault)?.key ?? "undefined") {
1261
+ if key == (try? ((Core_ui_list_view_list_view_common.searchAutoHideProperty?.getDefault)?.key ?? "undefined")) {
1246
1262
  return { __this, __a in return try (jsCastPresent(__this) as ListView).symbol_getDefault_searchAutoHide() }
1247
1263
  }
1248
- if key == ((Core_ui_list_view_list_view_common.searchAutoHideProperty?.setNative)?.key ?? "undefined") {
1264
+ if key == (try? ((Core_ui_list_view_list_view_common.searchAutoHideProperty?.setNative)?.key ?? "undefined")) {
1249
1265
  return { __this, __a in
1250
1266
  try (jsCastPresent(__this) as ListView).symbol_setNative_searchAutoHide(
1251
1267
  (try jsConvertedBool(jsArg(__a, 0))))
1252
1268
  return nil
1253
1269
  }
1254
1270
  }
1255
- if key == ((Core_ui_list_view_list_view_common.iosScrollEdgeEffectProperty?.setNative)?.key ?? "undefined") {
1271
+ if key
1272
+ == (try? ((Core_ui_list_view_list_view_common.iosScrollEdgeEffectProperty?.setNative)?.key ?? "undefined"))
1273
+ {
1256
1274
  return { __this, __a in
1257
1275
  try (jsCastPresent(__this) as ListView).symbol_setNative_iosScrollEdgeEffect(
1258
1276
  (try jsConvertedString(jsArg(__a, 0))))
@@ -752,13 +752,13 @@ open class Page: PageBase {
752
752
  }
753
753
  #sourceLocation()
754
754
  open override func jsSymbolMethod(_ key: String) -> JSMethod? {
755
- if key == ((Core_ui_page_page_common.actionBarHiddenProperty?.setNative)?.key ?? "undefined") {
755
+ if key == (try? ((Core_ui_page_page_common.actionBarHiddenProperty?.setNative)?.key ?? "undefined")) {
756
756
  return { __this, __a in
757
757
  try (jsCastPresent(__this) as Page).symbol_setNative_actionBarHidden(false)
758
758
  return nil
759
759
  }
760
760
  }
761
- if key == ((Core_ui_page_page_common.enableSwipeBackNavigationProperty?.setNative)?.key ?? "undefined") {
761
+ if key == (try? ((Core_ui_page_page_common.enableSwipeBackNavigationProperty?.setNative)?.key ?? "undefined")) {
762
762
  return { __this, __a in
763
763
  try (jsCastPresent(__this) as Page).symbol_setNative_enableSwipeBackNavigation(
764
764
  (try jsConvertedBool(jsArg(__a, 0))))
@@ -80,49 +80,51 @@ open class Progress: ProgressBase {
80
80
 
81
81
  }
82
82
  open override func jsSymbolMethod(_ key: String) -> JSMethod? {
83
- if key == ((Core_ui_progress_progress_common.valueProperty?.getDefault)?.key ?? "undefined") {
83
+ if key == (try? ((Core_ui_progress_progress_common.valueProperty?.getDefault)?.key ?? "undefined")) {
84
84
  return { __this, __a in return try (jsCastPresent(__this) as Progress).symbol_getDefault_value() }
85
85
  }
86
- if key == ((Core_ui_progress_progress_common.valueProperty?.setNative)?.key ?? "undefined") {
86
+ if key == (try? ((Core_ui_progress_progress_common.valueProperty?.setNative)?.key ?? "undefined")) {
87
87
  return { __this, __a in
88
88
  try (jsCastPresent(__this) as Progress).symbol_setNative_value((try jsConvertedNumber(jsArg(__a, 0))))
89
89
  return nil
90
90
  }
91
91
  }
92
- if key == ((Core_ui_progress_progress_common.maxValueProperty?.getDefault)?.key ?? "undefined") {
92
+ if key == (try? ((Core_ui_progress_progress_common.maxValueProperty?.getDefault)?.key ?? "undefined")) {
93
93
  return { __this, __a in return try (jsCastPresent(__this) as Progress).symbol_getDefault_maxValue() }
94
94
  }
95
- if key == ((Core_ui_progress_progress_common.maxValueProperty?.setNative)?.key ?? "undefined") {
95
+ if key == (try? ((Core_ui_progress_progress_common.maxValueProperty?.setNative)?.key ?? "undefined")) {
96
96
  return { __this, __a in
97
97
  try (jsCastPresent(__this) as Progress).symbol_setNative_maxValue(
98
98
  (try jsConvertedNumber(jsArg(__a, 0))))
99
99
  return nil
100
100
  }
101
101
  }
102
- if key == ((Core_ui_styling_style_properties.colorProperty?.getDefault)?.key ?? "undefined") {
102
+ if key == (try? ((Core_ui_styling_style_properties.colorProperty?.getDefault)?.key ?? "undefined")) {
103
103
  return { __this, __a in return try (jsCastPresent(__this) as Progress).symbol_getDefault_color() }
104
104
  }
105
- if key == ((Core_ui_styling_style_properties.colorProperty?.setNative)?.key ?? "undefined") {
105
+ if key == (try? ((Core_ui_styling_style_properties.colorProperty?.setNative)?.key ?? "undefined")) {
106
106
  return { __this, __a in
107
107
  try (jsCastPresent(__this) as Progress).symbol_setNative_color(jsArg(__a, 0))
108
108
  return nil
109
109
  }
110
110
  }
111
- if key == ((Core_ui_styling_style_properties.backgroundColorProperty?.getDefault)?.key ?? "undefined") {
111
+ if key == (try? ((Core_ui_styling_style_properties.backgroundColorProperty?.getDefault)?.key ?? "undefined")) {
112
112
  return { __this, __a in return try (jsCastPresent(__this) as Progress).symbol_getDefault_backgroundColor() }
113
113
  }
114
- if key == ((Core_ui_styling_style_properties.backgroundColorProperty?.setNative)?.key ?? "undefined") {
114
+ if key == (try? ((Core_ui_styling_style_properties.backgroundColorProperty?.setNative)?.key ?? "undefined")) {
115
115
  return { __this, __a in
116
116
  try (jsCastPresent(__this) as Progress).symbol_setNative_backgroundColor(jsArg(__a, 0))
117
117
  return nil
118
118
  }
119
119
  }
120
- if key == ((Core_ui_styling_style_properties.backgroundInternalProperty?.getDefault)?.key ?? "undefined") {
120
+ if key == (try? ((Core_ui_styling_style_properties.backgroundInternalProperty?.getDefault)?.key ?? "undefined"))
121
+ {
121
122
  return { __this, __a in
122
123
  return try (jsCastPresent(__this) as Progress).symbol_getDefault_backgroundInternal_Progress()
123
124
  }
124
125
  }
125
- if key == ((Core_ui_styling_style_properties.backgroundInternalProperty?.setNative)?.key ?? "undefined") {
126
+ if key == (try? ((Core_ui_styling_style_properties.backgroundInternalProperty?.setNative)?.key ?? "undefined"))
127
+ {
126
128
  return { __this, __a in
127
129
  try (jsCastPresent(__this) as Progress).symbol_setNative_backgroundInternal_Progress(nil)
128
130
  return nil
@@ -172,11 +172,15 @@ open class ScrollView: ScrollViewBase {
172
172
  }
173
173
  #sourceLocation()
174
174
  open override func jsSymbolMethod(_ key: String) -> JSMethod? {
175
- if key == ((Core_ui_scroll_view_scroll_view_common.isScrollEnabledProperty?.getDefault)?.key ?? "undefined") {
175
+ if key
176
+ == (try? ((Core_ui_scroll_view_scroll_view_common.isScrollEnabledProperty?.getDefault)?.key ?? "undefined"))
177
+ {
176
178
  return { __this, __a in return try (jsCastPresent(__this) as ScrollView).symbol_getDefault_isScrollEnabled()
177
179
  }
178
180
  }
179
- if key == ((Core_ui_scroll_view_scroll_view_common.isScrollEnabledProperty?.setNative)?.key ?? "undefined") {
181
+ if key
182
+ == (try? ((Core_ui_scroll_view_scroll_view_common.isScrollEnabledProperty?.setNative)?.key ?? "undefined"))
183
+ {
180
184
  return { __this, __a in
181
185
  try (jsCastPresent(__this) as ScrollView).symbol_setNative_isScrollEnabled(
182
186
  (try jsConvertedBool(jsArg(__a, 0))))
@@ -184,16 +188,18 @@ open class ScrollView: ScrollViewBase {
184
188
  }
185
189
  }
186
190
  if key
187
- == ((Core_ui_scroll_view_scroll_view_common.scrollBarIndicatorVisibleProperty?.getDefault)?.key
188
- ?? "undefined")
191
+ == (try?
192
+ ((Core_ui_scroll_view_scroll_view_common.scrollBarIndicatorVisibleProperty?.getDefault)?.key
193
+ ?? "undefined"))
189
194
  {
190
195
  return { __this, __a in
191
196
  return try (jsCastPresent(__this) as ScrollView).symbol_getDefault_scrollBarIndicatorVisible()
192
197
  }
193
198
  }
194
199
  if key
195
- == ((Core_ui_scroll_view_scroll_view_common.scrollBarIndicatorVisibleProperty?.setNative)?.key
196
- ?? "undefined")
200
+ == (try?
201
+ ((Core_ui_scroll_view_scroll_view_common.scrollBarIndicatorVisibleProperty?.setNative)?.key
202
+ ?? "undefined"))
197
203
  {
198
204
  return { __this, __a in
199
205
  try (jsCastPresent(__this) as ScrollView).symbol_setNative_scrollBarIndicatorVisible(
@@ -202,8 +208,9 @@ open class ScrollView: ScrollViewBase {
202
208
  }
203
209
  }
204
210
  if key
205
- == ((Core_ui_scroll_view_scroll_view_common.iosContentInsetAdjustmentBehaviorProperty?.setNative)?.key
206
- ?? "undefined")
211
+ == (try?
212
+ ((Core_ui_scroll_view_scroll_view_common.iosContentInsetAdjustmentBehaviorProperty?.setNative)?.key
213
+ ?? "undefined"))
207
214
  {
208
215
  return { __this, __a in
209
216
  try (jsCastPresent(__this) as ScrollView).symbol_setNative_iosContentInsetAdjustmentBehavior(
@@ -211,7 +218,9 @@ open class ScrollView: ScrollViewBase {
211
218
  return nil
212
219
  }
213
220
  }
214
- if key == ((Core_ui_scroll_view_scroll_view_common.iosScrollEdgeEffectProperty?.setNative)?.key ?? "undefined")
221
+ if key
222
+ == (try?
223
+ ((Core_ui_scroll_view_scroll_view_common.iosScrollEdgeEffectProperty?.setNative)?.key ?? "undefined"))
215
224
  {
216
225
  return { __this, __a in
217
226
  try (jsCastPresent(__this) as ScrollView).symbol_setNative_iosScrollEdgeEffect(