mn-docs-mcp 0.6.1 → 1.0.0

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 (158) hide show
  1. package/astro.config.mjs +4 -0
  2. package/package.json +1 -1
  3. package/src/content/docs/guides/contributing.md +4 -4
  4. package/src/content/docs/guides/getting-started.md +2 -2
  5. package/src/content/docs/guides/lifecycle-and-window.md +4 -4
  6. package/src/content/docs/guides/mindmap-and-selection.md +1 -1
  7. package/src/content/docs/guides/native-ui.md +2 -2
  8. package/src/content/docs/guides/network-requests.md +7 -8
  9. package/src/content/docs/guides/notes-and-database.md +1 -1
  10. package/src/content/docs/guides/shortcut-keys.md +9 -9
  11. package/src/content/docs/guides/storage-and-files.md +3 -3
  12. package/src/content/docs/guides/toolbar-and-commands.md +1 -1
  13. package/src/content/docs/reference/black-box.md +2 -2
  14. package/src/content/docs/reference/foundation/ns-attributed-string.md +1 -1
  15. package/src/content/docs/reference/foundation/ns-counted-set.md +1 -1
  16. package/src/content/docs/reference/foundation/ns-date-components.md +2 -2
  17. package/src/content/docs/reference/foundation/ns-date-formatter.md +1 -3
  18. package/src/content/docs/reference/foundation/ns-decimal-number.md +1 -1
  19. package/src/content/docs/reference/foundation/ns-enumerator.md +1 -1
  20. package/src/content/docs/reference/foundation/ns-error.md +2 -2
  21. package/src/content/docs/reference/foundation/ns-file-manager.md +1 -1
  22. package/src/content/docs/reference/foundation/ns-formatter.md +2 -2
  23. package/src/content/docs/reference/foundation/ns-json-serialization.md +10 -2
  24. package/src/content/docs/reference/foundation/ns-mutable-attributed-string.md +1 -1
  25. package/src/content/docs/reference/foundation/ns-mutable-character-set.md +1 -1
  26. package/src/content/docs/reference/foundation/ns-mutable-dictionary.md +1 -1
  27. package/src/content/docs/reference/foundation/ns-mutable-index-set.md +1 -1
  28. package/src/content/docs/reference/foundation/ns-mutable-set.md +1 -1
  29. package/src/content/docs/reference/foundation/ns-mutable-string.md +1 -1
  30. package/src/content/docs/reference/foundation/ns-mutable-url-request.md +2 -3
  31. package/src/content/docs/reference/foundation/ns-null.md +1 -1
  32. package/src/content/docs/reference/foundation/ns-number-formatter.md +2 -2
  33. package/src/content/docs/reference/foundation/ns-operation.md +2 -2
  34. package/src/content/docs/reference/foundation/ns-pointer-array.md +1 -1
  35. package/src/content/docs/reference/foundation/ns-proxy.md +5 -3
  36. package/src/content/docs/reference/foundation/ns-scanner.md +7 -1
  37. package/src/content/docs/reference/foundation/ns-set.md +1 -1
  38. package/src/content/docs/reference/foundation/ns-simple-c-string.md +3 -4
  39. package/src/content/docs/reference/foundation/ns-time-zone.md +1 -1
  40. package/src/content/docs/reference/foundation/ns-timer.md +1 -1
  41. package/src/content/docs/reference/foundation/ns-ubiquitous-key-value-store.md +61 -0
  42. package/src/content/docs/reference/foundation/ns-url-connection.md +2 -2
  43. package/src/content/docs/reference/foundation/ns-url-request.md +2 -2
  44. package/src/content/docs/reference/foundation/ns-url-response.md +5 -5
  45. package/src/content/docs/reference/foundation/ns-url.md +1 -1
  46. package/src/content/docs/reference/foundation/ns-user-defaults.md +4 -4
  47. package/src/content/docs/reference/foundation/ns-value.md +15 -15
  48. package/src/content/docs/reference/global/agent-tools.md +91 -0
  49. package/src/content/docs/reference/global/application.md +5 -5
  50. package/src/content/docs/reference/global/builtin-commands.md +2 -2
  51. package/src/content/docs/reference/global/database.md +4 -4
  52. package/src/content/docs/reference/global/document.md +21 -0
  53. package/src/content/docs/reference/global/global-variables.md +22 -5
  54. package/src/content/docs/reference/global/jsb.md +7 -5
  55. package/src/content/docs/reference/global/note.md +5 -5
  56. package/src/content/docs/reference/global/notebook.md +21 -0
  57. package/src/content/docs/reference/global/popup-menu-item.md +2 -2
  58. package/src/content/docs/reference/global/popup-menu.md +5 -6
  59. package/src/content/docs/reference/global/search-manager.md +12 -6
  60. package/src/content/docs/reference/global/self.md +1 -13
  61. package/src/content/docs/reference/js-runtime.md +6 -5
  62. package/src/content/docs/reference/marginnote/document-controller.md +41 -9
  63. package/src/content/docs/reference/marginnote/jsextension.md +7 -7
  64. package/src/content/docs/reference/marginnote/mb-book-note.md +123 -30
  65. package/src/content/docs/reference/marginnote/mb-book.md +6 -6
  66. package/src/content/docs/reference/marginnote/mb-model-tool.md +2 -2
  67. package/src/content/docs/reference/marginnote/mb-topic.md +18 -7
  68. package/src/content/docs/reference/marginnote/mindmap-node.md +4 -4
  69. package/src/content/docs/reference/marginnote/mindmap-view.md +2 -2
  70. package/src/content/docs/reference/marginnote/notebook-controller.md +3 -3
  71. package/src/content/docs/reference/marginnote/outline-view.md +2 -2
  72. package/src/content/docs/reference/marginnote/reader-controller.md +3 -3
  73. package/src/content/docs/reference/marginnote/study-controller.md +6 -6
  74. package/src/content/docs/reference/quartzcore/caanimation-group.md +3 -3
  75. package/src/content/docs/reference/quartzcore/cabasic-animation.md +3 -3
  76. package/src/content/docs/reference/quartzcore/caemitter-layer.md +44 -0
  77. package/src/content/docs/reference/quartzcore/cagradient-layer.md +1 -1
  78. package/src/content/docs/reference/quartzcore/cakeyframe-animation.md +3 -3
  79. package/src/content/docs/reference/quartzcore/calayer.md +1 -1
  80. package/src/content/docs/reference/quartzcore/camedia-timing-function.md +1 -1
  81. package/src/content/docs/reference/quartzcore/caproperty-animation.md +1 -1
  82. package/src/content/docs/reference/quartzcore/careplicator-layer.md +2 -2
  83. package/src/content/docs/reference/quartzcore/cascroll-layer.md +1 -1
  84. package/src/content/docs/reference/quartzcore/cashape-layer.md +2 -2
  85. package/src/content/docs/reference/quartzcore/catext-layer.md +4 -4
  86. package/src/content/docs/reference/quartzcore/catransaction.md +5 -3
  87. package/src/content/docs/reference/quartzcore/catransform-layer.md +3 -3
  88. package/src/content/docs/reference/quartzcore/catransition.md +10 -6
  89. package/src/content/docs/reference/quartzcore/cavalue-function.md +1 -1
  90. package/src/content/docs/reference/uikit/ns-mutable-paragraph-style.md +3 -3
  91. package/src/content/docs/reference/uikit/ns-paragraph-style.md +3 -4
  92. package/src/content/docs/reference/uikit/ns-text-storage.md +4 -5
  93. package/src/content/docs/reference/uikit/uiactivity-indicator-view.md +2 -2
  94. package/src/content/docs/reference/uikit/uiapplication.md +1 -1
  95. package/src/content/docs/reference/uikit/uibar-button-item.md +3 -4
  96. package/src/content/docs/reference/uikit/uibar-item.md +2 -3
  97. package/src/content/docs/reference/uikit/uibezier-path.md +2 -2
  98. package/src/content/docs/reference/uikit/uibutton.md +1 -1
  99. package/src/content/docs/reference/uikit/uicollection-view-cell.md +5 -5
  100. package/src/content/docs/reference/uikit/uicollection-view-controller.md +22 -2
  101. package/src/content/docs/reference/uikit/uicollection-view-flow-layout.md +54 -0
  102. package/src/content/docs/reference/uikit/uicollection-view-layout.md +9 -2
  103. package/src/content/docs/reference/uikit/uicollection-view.md +13 -4
  104. package/src/content/docs/reference/uikit/uicolor.md +1 -1
  105. package/src/content/docs/reference/uikit/uicontrol.md +3 -5
  106. package/src/content/docs/reference/uikit/uidate-picker.md +1 -1
  107. package/src/content/docs/reference/uikit/uievent.md +2 -2
  108. package/src/content/docs/reference/uikit/uifont.md +1 -1
  109. package/src/content/docs/reference/uikit/uigesture-recognizer.md +1 -1
  110. package/src/content/docs/reference/uikit/uiimage-picker-controller.md +1 -1
  111. package/src/content/docs/reference/uikit/uiimage-view.md +2 -2
  112. package/src/content/docs/reference/uikit/uiimage.md +2 -2
  113. package/src/content/docs/reference/uikit/uikey-command.md +2 -2
  114. package/src/content/docs/reference/uikit/uilabel.md +3 -3
  115. package/src/content/docs/reference/uikit/uilocal-notification.md +2 -2
  116. package/src/content/docs/reference/uikit/uilong-press-gesture-recognizer.md +2 -2
  117. package/src/content/docs/reference/uikit/uinavigation-bar.md +2 -2
  118. package/src/content/docs/reference/uikit/uinavigation-controller.md +1 -1
  119. package/src/content/docs/reference/uikit/uinavigation-item.md +1 -1
  120. package/src/content/docs/reference/uikit/uipage-control.md +1 -1
  121. package/src/content/docs/reference/uikit/uipage-view-controller.md +1 -1
  122. package/src/content/docs/reference/uikit/uipan-gesture-recognizer.md +1 -1
  123. package/src/content/docs/reference/uikit/uipasteboard.md +1 -1
  124. package/src/content/docs/reference/uikit/uipicker-view.md +3 -3
  125. package/src/content/docs/reference/uikit/uipinch-gesture-recognizer.md +1 -1
  126. package/src/content/docs/reference/uikit/uipopover-controller.md +1 -1
  127. package/src/content/docs/reference/uikit/uiresponder.md +3 -4
  128. package/src/content/docs/reference/uikit/uirotation-gesture-recognizer.md +1 -1
  129. package/src/content/docs/reference/uikit/uiscreen-mode.md +2 -2
  130. package/src/content/docs/reference/uikit/uiscrollview.md +1 -1
  131. package/src/content/docs/reference/uikit/uisearch-bar.md +25 -2
  132. package/src/content/docs/reference/uikit/uisegmented-control.md +1 -1
  133. package/src/content/docs/reference/uikit/uislider.md +1 -1
  134. package/src/content/docs/reference/uikit/uiswipe-gesture-recognizer.md +1 -1
  135. package/src/content/docs/reference/uikit/uiswitch.md +2 -2
  136. package/src/content/docs/reference/uikit/uitab-bar-controller.md +2 -2
  137. package/src/content/docs/reference/uikit/uitab-bar-item.md +1 -1
  138. package/src/content/docs/reference/uikit/uitab-bar.md +1 -1
  139. package/src/content/docs/reference/uikit/uitable-view-cell.md +6 -6
  140. package/src/content/docs/reference/uikit/uitable-view-controller.md +1 -1
  141. package/src/content/docs/reference/uikit/uitable-view.md +3 -3
  142. package/src/content/docs/reference/uikit/uitap-gesture-recognizer.md +2 -2
  143. package/src/content/docs/reference/uikit/uitext-input-mode.md +7 -3
  144. package/src/content/docs/reference/uikit/uitext-position.md +5 -5
  145. package/src/content/docs/reference/uikit/uitext-range.md +4 -4
  146. package/src/content/docs/reference/uikit/uitext-view.md +2 -2
  147. package/src/content/docs/reference/uikit/uitextfield.md +3 -3
  148. package/src/content/docs/reference/uikit/uitoolbar.md +1 -1
  149. package/src/content/docs/reference/uikit/uitouch.md +3 -3
  150. package/src/content/docs/reference/uikit/uiview-controller.md +2 -2
  151. package/src/content/docs/reference/uikit/uiview.md +5 -5
  152. package/src/content/docs/reference/uikit/uiwebview.md +5 -5
  153. package/src/content/docs/reference/uikit/uiwindow.md +2 -2
  154. package/src/content/docs/reference/utility/menu-controller.md +1 -1
  155. package/src/content/docs/reference/utility/sqlite-result-set.md +1 -1
  156. package/src/content/docs/reference/utility/sqlite-statement.md +2 -2
  157. package/src/content/docs/reference/utility/zip-archive.md +13 -14
  158. package/src/content/docs/reference/value-sturct.md +105 -0
@@ -19,7 +19,7 @@ description: 按钮控件,需通过 addTargetActionForControlEvents 绑定点
19
19
  | `setTitleColorForState(color, state)` | 设置标题颜色。 |
20
20
  | `setImageForState(image, state)` | 设置图片。 |
21
21
  | `setBackgroundImageForState(image, state)` | 设置背景图。 |
22
- | `addTargetActionForControlEvents(target, action, event)` | target 通常为 self,action 为 'methodName:',event 1<<6 为点击。 |
22
+ | `addTargetActionForControlEvents(target, action, event)` | target self,action 为 'methodName:',event 1<<6 为点击。 |
23
23
 
24
24
  ## 相关
25
25
 
@@ -1,22 +1,22 @@
1
1
  ---
2
2
  title: UICollectionViewCell
3
- description: UICollectionView 的基础单元格类型。在插件运行时主要作为参数/返回值类型出现。
3
+ description: UICollectionView 的基础单元格类型。主要作为参数/返回值类型出现。
4
4
  ---
5
5
 
6
- `UICollectionViewCell` 是 `UICollectionView` 的单元格类型,通常由 `UICollectionView` 通过复用机制创建并返回。
6
+ `UICollectionViewCell` 是 `UICollectionView` 的单元格类型,默认由 `UICollectionView` 通过复用机制创建并返回。
7
7
 
8
- 在当前插件运行时环境中,`UICollectionViewCell` **没有额外暴露专属的可调用成员**(即不提供区别于其父类/通用视图的新增属性或方法)。因此它更多用于:
8
+ 在当前插件环境中,`UICollectionViewCell` **没有额外暴露专属的可调用成员**(即不提供区别于其父类/通用视图的新增属性或方法)。因此它更多用于:
9
9
 
10
10
  - 作为 `UICollectionView.cellForItemAtIndexPath(...)` 等方法的返回值类型
11
11
  - 作为 `indexPathForCell(cell)` 等查询方法的入参类型
12
12
 
13
13
  ## 实例成员 (Instance members)
14
14
 
15
- 当前运行时未额外暴露 `UICollectionViewCell` 的实例成员。
15
+ 当前接口未额外暴露 `UICollectionViewCell` 的实例成员。
16
16
 
17
17
  ## 类成员 (Class members)
18
18
 
19
- 当前运行时未额外暴露 `UICollectionViewCell` 的类成员。
19
+ 当前接口未额外暴露 `UICollectionViewCell` 的类成员。
20
20
 
21
21
  ## 相关
22
22
 
@@ -5,6 +5,16 @@ description: 承载 UICollectionView 的控制器。可通过布局初始化并
5
5
 
6
6
  `UICollectionViewController` 继承自 [UIViewController](/reference/uikit/uiview-controller/),用于管理一个 `UICollectionView` 实例与其布局对象,适合在插件中以“控制器 + view”的方式复用界面逻辑。
7
7
 
8
+ ## 推荐创建路径
9
+
10
+ 当前插件环境下,更稳定的路径是:
11
+
12
+ 1. 创建`UICollectionViewFlowLayout`并先设置固定参数,如`itemSize`、`sectionInset`、`minimumLineSpacing`。
13
+ 2. 使用`initWithCollectionViewLayout(layout)`创建`UICollectionViewController`。
14
+ 3. 通过`controller.collectionView`取得实例,完成`registerClass...`、`dataSource/delegate`绑定与`reloadData()`。
15
+
16
+ 相比之下,直接走`UICollectionView`的`initWithFrame:collectionViewLayout:`路径在当前桥接里不稳定,不建议作为主路径。
17
+
8
18
  ## 实例成员 (Instance members)
9
19
 
10
20
  ### 属性
@@ -22,11 +32,21 @@ description: 承载 UICollectionView 的控制器。可通过布局初始化并
22
32
  | --- | --- | --- | --- |
23
33
  | `initWithCollectionViewLayout(layout)` | layout: UICollectionViewLayout | id | 以指定布局初始化。 |
24
34
 
35
+ ### 数据源最小实现
36
+
37
+ 至少实现以下方法:
38
+
39
+ - `numberOfSectionsInCollectionView`
40
+ - `collectionView:numberOfItemsInSection:`
41
+ - `collectionView:cellForItemAtIndexPath:`
42
+
43
+ `dataSource/delegate`使用`JSB.defineClass`导出的实例对象承载,以确保selector映射稳定。
44
+
25
45
  ## 类成员 (Class members)
26
46
 
27
- 当前运行时未额外暴露 `UICollectionViewController` 的类成员。
47
+ 当前接口未额外暴露 `UICollectionViewController` 的类成员。
28
48
 
29
49
  ## 相关
30
50
 
31
51
  - [UIViewController](/reference/uikit/uiview-controller/)
32
- - [UICollectionView](/reference/uikit/uicollection-view/)、[UICollectionViewLayout](/reference/uikit/uicollection-view-layout/)
52
+ - [UICollectionView](/reference/uikit/uicollection-view/)、[UICollectionViewLayout](/reference/uikit/uicollection-view-layout/)、[UICollectionViewFlowLayout](/reference/uikit/uicollection-view-flow-layout/)
@@ -0,0 +1,54 @@
1
+ ---
2
+ title: UICollectionViewFlowLayout
3
+ description: UICollectionView的流式布局。常用于固定网格参数配置。
4
+ ---
5
+
6
+ `UICollectionViewFlowLayout`是`UICollectionViewLayout`的常用子类,用于按行列流式排布cell。插件场景优先使用固定`itemSize/sectionInset/minimumLineSpacing`方案。
7
+
8
+ ## 使用规范
9
+
10
+ - 更稳定的创建路径是:先创建`UICollectionViewFlowLayout`,再用`UICollectionViewController.initWithCollectionViewLayout(layout)`拿到`collectionView`。
11
+ - `initWithFrame:collectionViewLayout:`在当前桥接里不稳定,不建议作为主路径。
12
+ - 动态尺寸回调例如`sizeForItemAtIndexPath`在JS桥接里风险较高,后置。
13
+
14
+ ## 实例成员 (Instance members)
15
+
16
+ ### 属性
17
+
18
+ | 属性 | 类型 | 说明 |
19
+ | --- | --- | --- |
20
+ | `itemSize` | [`CGSize`](/reference/value-sturct/#cgsize) | 单个item尺寸。 |
21
+ | `sectionInset` | [`UIEdgeInsets`](/reference/value-sturct/#uiedgeinsets) | section内边距。 |
22
+ | `minimumLineSpacing` | number | 最小行间距。 |
23
+ | `minimumInteritemSpacing` | number | 最小item间距。 |
24
+ | `headerReferenceSize` | [`CGSize`](/reference/value-sturct/#cgsize) | 头部参考尺寸。 |
25
+ | `footerReferenceSize` | [`CGSize`](/reference/value-sturct/#cgsize) | 尾部参考尺寸。 |
26
+ | `invalidateFlowLayoutAttributes` | boolean | 只读。布局属性是否失效。 |
27
+ | `invalidateFlowLayoutDelegateMetrics` | boolean | 只读。delegate度量是否失效。 |
28
+
29
+ ### 方法
30
+
31
+ | 方法 | 参数 | 返回值 | 说明 |
32
+ | --- | --- | --- | --- |
33
+ | `invalidateLayout()` | — | void | 标记布局失效并触发重算。 |
34
+ | `prepareLayout()` | — | void | 布局准备阶段。 |
35
+ | `layoutAttributesForElementsInRect(rect)` | rect: [`CGRect`](/reference/value-sturct/#cgrect) | NSArray | 返回区域内元素布局属性。 |
36
+ | `collectionViewContentSize()` | — | [`CGSize`](/reference/value-sturct/#cgsize) | 返回内容尺寸。 |
37
+
38
+ ## 类成员 (Class members)
39
+
40
+ | 成员 | 返回值 | 说明 |
41
+ | --- | --- | --- |
42
+ | `layoutAttributesClass()` | Class | 返回布局属性类。 |
43
+ | `invalidationContextClass()` | Class | 返回失效上下文类。 |
44
+
45
+ ## 问题排查
46
+
47
+ - 创建成功但不显示时,优先检查`frame/bounds`是否为0、`itemSize`是否为0、是否已挂到可见view层级。
48
+ - `registerClass...`缺失或`reuseId`不一致会导致`dequeue`失败。
49
+
50
+ ## 相关
51
+
52
+ - [UICollectionView](/reference/uikit/uicollection-view/)
53
+ - [UICollectionViewController](/reference/uikit/uicollection-view-controller/)
54
+ - [UICollectionViewLayout](/reference/uikit/uicollection-view-layout/)
@@ -3,7 +3,13 @@ title: UICollectionViewLayout
3
3
  description: UICollectionView 的布局基类。负责提供元素布局属性、内容尺寸与滚动目标位置等。
4
4
  ---
5
5
 
6
- `UICollectionViewLayout` 用于为 [UICollectionView](/reference/uikit/uicollection-view/) 计算布局信息。插件运行时暴露了一组用于布局生命周期、注册 decoration view、查询布局属性与计算内容尺寸/目标偏移的成员。
6
+ `UICollectionViewLayout` 用于为 [UICollectionView](/reference/uikit/uicollection-view/) 计算布局信息。插件环境暴露了一组用于布局生命周期、注册 decoration view、查询布局属性与计算内容尺寸/目标偏移的成员。
7
+
8
+ ## 接口状态
9
+
10
+ `UICollectionViewLayout`类本身可见,但直接构造路径不稳定。实践上优先通过现有`UICollectionView`实例读取`collectionViewLayout`,不要在插件里直接新建布局实例。
11
+
12
+ 在插件里做首版网格列表时,优先使用`UICollectionViewFlowLayout`并设置固定`itemSize/sectionInset/minimumLineSpacing`。`sizeForItemAtIndexPath`这类动态尺寸路径在JS桥接里风险较高,后置。
7
13
 
8
14
  ## 实例成员 (Instance members)
9
15
 
@@ -28,7 +34,7 @@ description: UICollectionView 的布局基类。负责提供元素布局属性
28
34
  | `hidden` | boolean | 是否隐藏。 |
29
35
  | `zIndex` | number | zIndex。 |
30
36
 
31
- > 注意:以上属性中一部分在系统 UIKit 的语义上更常见于“布局属性对象”。这里以**插件运行时实际暴露**为准进行记录;如果你只在运行时把它当作数据结构读写,也完全可行。
37
+ > 注意:本页记录的是 `JSBUICollectionViewLayout` 已导出的属性与方法。插件中按本页清单调用,不再扩展解释为其它对象语义。
32
38
 
33
39
  ### 方法
34
40
 
@@ -56,5 +62,6 @@ description: UICollectionView 的布局基类。负责提供元素布局属性
56
62
  ## 相关
57
63
 
58
64
  - [UICollectionView](/reference/uikit/uicollection-view/)
65
+ - [UICollectionViewFlowLayout](/reference/uikit/uicollection-view-flow-layout/)
59
66
  - [UICollectionViewLayoutAttributes](/reference/uikit/uicollection-view-layout-attributes/)
60
67
  - [NSIndexPath](/reference/foundation/ns-index-path/)、[NSArray](/reference/foundation/ns-array/)
@@ -3,7 +3,12 @@ title: UICollectionView
3
3
  description: 网格/瀑布流式列表视图。支持注册与复用 cell、批量更新、查询布局属性与可见项。
4
4
  ---
5
5
 
6
- `UICollectionView` 是用于展示大量条目的滚动视图,继承自 [UIScrollView](/reference/uikit/uiscrollview/)。在插件运行时通常配合 `dataSource` 与 `collectionViewLayout` 使用,通过“注册 → 复用”机制创建 cell,并在需要时对 section/item 做增删改或批量更新。
6
+ `UICollectionView` 是用于展示大量条目的滚动视图,继承自 [UIScrollView](/reference/uikit/uiscrollview/)。默认配合 `dataSource` 与 `collectionViewLayout` 使用,通过“注册 → 复用”机制创建 cell,并在需要时对 section/item 做增删改或批量更新。
7
+
8
+ ## 使用规范
9
+
10
+ - 优先通过`UICollectionViewController.initWithCollectionViewLayout(...)`创建并拿到`collectionView`,不要把`UICollectionView`直接构造作为主路径。
11
+ - 首版优先固定尺寸布局,动态尺寸回调在JS桥接里稳定性较差。
7
12
 
8
13
  ## 实例成员 (Instance members)
9
14
 
@@ -11,7 +16,7 @@ description: 网格/瀑布流式列表视图。支持注册与复用 cell、批
11
16
 
12
17
  | 属性 | 类型 | 说明 |
13
18
  | --- | --- | --- |
14
- | `item` | number | 只读。运行时暴露的整数属性(常见于布局/交互状态字段)。 |
19
+ | `item` | number | 只读。插件环境暴露的整数属性(常见于布局/交互状态字段)。 |
15
20
  | `backgroundView` | UIView | 背景视图。 |
16
21
  | `allowsMultipleSelection` | boolean | 是否允许多选。 |
17
22
  | `allowsSelection` | boolean | 是否允许选中。 |
@@ -27,6 +32,8 @@ description: 网格/瀑布流式列表视图。支持注册与复用 cell、批
27
32
  | `dequeueReusableCellWithReuseIdentifierForIndexPath(identifier, indexPath)` | identifier: string, indexPath: NSIndexPath | id | 取出复用 cell。 |
28
33
  | `dequeueReusableSupplementaryViewOfKindWithReuseIdentifierForIndexPath(elementKind, identifier, indexPath)` | elementKind: string, identifier: string, indexPath: NSIndexPath | id | 取出复用 supplementary view。 |
29
34
 
35
+ > 失败场景:未先`registerClass...`或`identifier`不一致会导致`dequeue`失败。
36
+
30
37
  ### 选择与可见项
31
38
 
32
39
  | 方法 | 参数 | 返回值 | 说明 |
@@ -46,6 +53,8 @@ description: 网格/瀑布流式列表视图。支持注册与复用 cell、批
46
53
  | `finishInteractiveTransition()` | — | void | 结束交互式转场。 |
47
54
  | `cancelInteractiveTransition()` | — | void | 取消交互式转场。 |
48
55
 
56
+ > 创建后不显示时,优先检查`frame/bounds`是否为0、`itemSize`是否为0、是否已加入可见view层级。
57
+
49
58
  ### 查询
50
59
 
51
60
  | 方法 | 参数 | 返回值 | 说明 |
@@ -56,7 +65,7 @@ description: 网格/瀑布流式列表视图。支持注册与复用 cell、批
56
65
  | `layoutAttributesForSupplementaryElementOfKindAtIndexPath(kind, indexPath)` | kind: string, indexPath: NSIndexPath | UICollectionViewLayoutAttributes | 获取 supplementary element 的布局属性。 |
57
66
  | `indexPathForItemAtPoint(point)` | point: { x: number, y: number } | NSIndexPath \| null | 根据点坐标反查 item 的 indexPath。 |
58
67
  | `indexPathForCell(cell)` | cell: UICollectionViewCell | NSIndexPath \| null | 根据 cell 反查 indexPath。 |
59
- | `cellForItemAtIndexPath(indexPath)` | indexPath: NSIndexPath | UICollectionViewCell \| null | 返回当前已创建并可见的 cell(不可见则可能为 null)。 |
68
+ | `cellForItemAtIndexPath(indexPath)` | indexPath: NSIndexPath | UICollectionViewCell \| null | 返回当前已创建并可见的 cell(不可见则为 null)。 |
60
69
 
61
70
  ### 增删改与批量更新
62
71
 
@@ -74,7 +83,7 @@ description: 网格/瀑布流式列表视图。支持注册与复用 cell、批
74
83
 
75
84
  ## 类成员 (Class members)
76
85
 
77
- 当前运行时未额外暴露 `UICollectionView` 的类成员。
86
+ 当前接口未额外暴露 `UICollectionView` 的类成员。
78
87
 
79
88
  ## 相关
80
89
 
@@ -7,7 +7,7 @@ description: 颜色对象,用于视图背景、文本等。
7
7
 
8
8
  ## 实例成员 (Instance members)
9
9
 
10
- `UIColor` 的实例通常作为“值对象”被传递与使用(例如赋给 `UIView.backgroundColor`、`UILabel.textColor`、`CALayer.borderColor` 等)。如果你需要把颜色转换为可读字符串,可关注运行时是否提供 `stringValue` / `hexStringValue` 等只读属性(站内搜索即可定位)。
10
+ `UIColor` 的实例默认作为“值对象”被传递与使用(例如赋给 `UIView.backgroundColor`、`UILabel.textColor`、`CALayer.borderColor` 等)。如果你需要把颜色转换为可读字符串,可关注插件环境是否提供 `stringValue` / `hexStringValue` 等只读属性(站内搜索即可定位)。
11
11
 
12
12
  ## 类成员 (Class members)
13
13
 
@@ -7,14 +7,12 @@ description: 控件基类(target/action 事件机制)。
7
7
 
8
8
  ## 实例成员 (Instance members)
9
9
 
10
- `UIControl` 的核心是事件绑定与派发:你通常会在控件实例上调用 `addTargetAction...` / `removeTargetAction...` / `sendActionsForControlEvents...` 等成员(具体名称以运行时实际暴露为准,可站内搜索定位)。
10
+ `UIControl` 的核心是事件绑定与派发。标准调用入口是 `addTargetActionForControlEvents(...)`、`removeTargetActionForControlEvents(...)` `sendActionsForControlEvents(...)`。
11
11
 
12
12
  ## 类成员 (Class members)
13
13
 
14
- 当前运行时未额外暴露 `UIControl` 的类成员。
14
+ 当前接口未额外暴露 `UIControl` 的类成员。
15
15
 
16
16
  ## 提示
17
17
 
18
- - 常用方法集中在 `addTargetAction(...)` / `removeTargetAction(...)` / `sendActionsForControlEvents(...)` 等。
19
- - 具体成员建议用站内搜索成员名。
20
-
18
+ - 常用方法集中在 `addTargetActionForControlEvents(...)`、`removeTargetActionForControlEvents(...)` `sendActionsForControlEvents(...)`。
@@ -29,7 +29,7 @@ description: 日期/时间选择控件。支持时区/语言环境、最小/最
29
29
 
30
30
  ## 类成员 (Class members)
31
31
 
32
- 当前运行时未额外暴露 `UIDatePicker` 的类成员。
32
+ 当前接口未额外暴露 `UIDatePicker` 的类成员。
33
33
 
34
34
  ## 相关
35
35
 
@@ -3,7 +3,7 @@ title: UIEvent
3
3
  description: 触摸/系统事件对象。可查询事件类型、时间戳与 touches 集合。
4
4
  ---
5
5
 
6
- `UIEvent` 表示一次输入事件(常见为触摸事件),通常在 `UIResponder` 的触摸回调或 `UIGestureRecognizer` 相关流程中出现。
6
+ `UIEvent` 表示一次输入事件(常见为触摸事件),默认在 `UIResponder` 的触摸回调或 `UIGestureRecognizer` 相关流程中出现。
7
7
 
8
8
  ## 实例成员 (Instance members)
9
9
 
@@ -26,7 +26,7 @@ description: 触摸/系统事件对象。可查询事件类型、时间戳与 to
26
26
 
27
27
  ## 类成员 (Class members)
28
28
 
29
- 当前运行时未额外暴露 `UIEvent` 的类成员。
29
+ 当前接口未额外暴露 `UIEvent` 的类成员。
30
30
 
31
31
  ## 相关
32
32
 
@@ -3,7 +3,7 @@ title: UIFont
3
3
  description: 字体对象。提供系统字体/粗体/斜体、按名称创建,以及枚举字体家族与字体名。
4
4
  ---
5
5
 
6
- `UIFont` 表示字体。插件运行时主要使用其**类成员**创建字体(系统字体、指定名称字体、按文本风格获取偏好字体),并可在需要时基于已有字体生成新字号的字体对象。
6
+ `UIFont` 表示字体。插件环境主要使用其**类成员**创建字体(系统字体、指定名称字体、按文本风格获取偏好字体),并可在需要时基于已有字体生成新字号的字体对象。
7
7
 
8
8
  ## 实例成员 (Instance members)
9
9
 
@@ -145,7 +145,7 @@ locationOfTouchInView(touchIndex: number, view: UIView): any
145
145
 
146
146
  ## 类成员 (Class members)
147
147
 
148
- 当前运行时未额外暴露 `UIGestureRecognizer` 的类成员。
148
+ 当前接口未额外暴露 `UIGestureRecognizer` 的类成员。
149
149
 
150
150
  ## 相关
151
151
 
@@ -3,7 +3,7 @@ title: UIImagePickerController
3
3
  description: 系统媒体选择/拍摄控制器。支持选择来源、媒体类型、拍照与视频录制控制。
4
4
  ---
5
5
 
6
- `UIImagePickerController` 用于从相册/相机选择图片或视频,或直接拍摄。它在插件运行时以控制器形式出现,常配合导航控制器/弹出层展示。
6
+ `UIImagePickerController` 用于从相册/相机选择图片或视频,或直接拍摄。它以控制器形式出现,常配合导航控制器/弹出层展示。
7
7
 
8
8
  ## 实例成员 (Instance members)
9
9
 
@@ -17,7 +17,7 @@ description: 图片视图。支持设置 image/highlightedImage 与帧动画(a
17
17
  | `animationImages` | NSArray | 帧动画图片数组。 |
18
18
  | `highlightedAnimationImages` | NSArray | 高亮状态下的帧动画图片数组。 |
19
19
  | `animationDuration` | number | 动画时长(秒)。 |
20
- | `animationRepeatCount` | number | 重复次数(0 通常表示无限)。 |
20
+ | `animationRepeatCount` | number | 重复次数(0 默认表示无限)。 |
21
21
 
22
22
  ### 方法
23
23
 
@@ -29,7 +29,7 @@ description: 图片视图。支持设置 image/highlightedImage 与帧动画(a
29
29
 
30
30
  ## 类成员 (Class members)
31
31
 
32
- 当前运行时未额外暴露 `UIImageView` 的类成员。
32
+ 当前接口未额外暴露 `UIImageView` 的类成员。
33
33
 
34
34
  ## 相关
35
35
 
@@ -49,8 +49,8 @@ description: 图片对象。支持按名称/文件/数据创建,绘制到点
49
49
  | `imageWithDataScale(data, scale)` | data: NSData, scale: number | UIImage \| null | 从数据创建并指定 scale。 |
50
50
  | `imageWithCGImage(cgImage)` | cgImage: id | UIImage \| null | 从 CGImage 创建图片。 |
51
51
  | `imageWithCGImageScaleOrientation(cgImage, scale, orientation)` | cgImage: id, scale: number, orientation: number | UIImage \| null | 从 CGImage 创建并指定 scale 与方向。 |
52
- | `addOSImageEncoding(image)` | image: UIImage | void | 注册/注入系统侧图片编码支持(用途依赖运行时)。 |
53
- | `removeAllOSImageEncoding()` | — | void | 清理所有系统侧图片编码支持(用途依赖运行时)。 |
52
+ | `addOSImageEncoding(image)` | image: UIImage | void | 注册/注入系统侧图片编码支持(用途依赖插件环境)。 |
53
+ | `removeAllOSImageEncoding()` | — | void | 清理所有系统侧图片编码支持(用途依赖插件环境)。 |
54
54
 
55
55
  ## 相关
56
56
 
@@ -14,7 +14,7 @@ description: 键盘快捷键命令对象。可指定 input、修饰键并绑定
14
14
  | `input` | string | 只读。按键输入(例如 `"K"`)。 |
15
15
  | `modifierFlags` | number | 只读。修饰键标记(例如 command/option/shift 等)。 |
16
16
  | `undoManager` | NSUndoManager | 只读。关联的撤销管理器。 |
17
- | `keyCommands` | NSArray | 只读。当前对象暴露的快捷键命令列表(通常在响应者上查询)。 |
17
+ | `keyCommands` | NSArray | 只读。当前对象暴露的快捷键命令列表(默认在响应者上查询)。 |
18
18
  | `inputView` | UIView | 只读。输入视图。 |
19
19
  | `inputAccessoryView` | UIView | 只读。输入附件视图。 |
20
20
  | `textInputContextIdentifier` | string | 只读。输入上下文标识。 |
@@ -23,7 +23,7 @@ description: 键盘快捷键命令对象。可指定 input、修饰键并绑定
23
23
 
24
24
  | 方法 | 参数 | 返回值 | 说明 |
25
25
  | --- | --- | --- | --- |
26
- | `keyCommandWithInputModifierFlagsAction(input, modifierFlags, action)` | input: string, modifierFlags: number, action: string | UIKeyCommand | 创建一个快捷键命令。`action` 通常传入要触发的实例方法名字符串(例如 `"onHotkey:"`)。 |
26
+ | `keyCommandWithInputModifierFlagsAction(input, modifierFlags, action)` | input: string, modifierFlags: number, action: string | UIKeyCommand | 创建一个快捷键命令。`action` 默认传入要触发的实例方法名字符串(例如 `"onHotkey:"`)。 |
27
27
 
28
28
  ## 相关
29
29
 
@@ -7,20 +7,20 @@ description: 静态文本标签。
7
7
 
8
8
  ## 实例成员 (Instance members)
9
9
 
10
- ### 属性(常用)
10
+ ### 属性
11
11
 
12
12
  | 属性 | 类型 | 说明 |
13
13
  |------|------|------|
14
14
  | `text` | string | 显示文本。 |
15
15
  | `textColor` | UIColor | 文本颜色。 |
16
16
  | `font` | UIFont | 字体(如 UIFont.systemFontOfSize(14))。 |
17
- | `frame` | CGRect | 位置与大小。 |
17
+ | `frame` | [CGRect](/reference/value-sturct/#cgrect) | 位置与大小。 |
18
18
  | `textAlignment` | number | 对齐(如 1 居中;部分平台不可用,例如 xrOS 环境)。 |
19
19
  | `numberOfLines` | number | 行数(0 多行)。 |
20
20
 
21
21
  ## 类成员 (Class members)
22
22
 
23
- 当前运行时未额外暴露 `UILabel` 的类成员。
23
+ 当前接口未额外暴露 `UILabel` 的类成员。
24
24
 
25
25
  ## 相关
26
26
 
@@ -3,7 +3,7 @@ title: UILocalNotification
3
3
  description: 本地通知对象(旧)。可设置触发时间、提示文案、声音与 userInfo。
4
4
  ---
5
5
 
6
- `UILocalNotification` 表示一条本地通知(旧接口)。在插件运行时它主要作为“数据对象”使用,用于配置通知的触发时间、提示文案与附加信息。
6
+ `UILocalNotification` 表示一条本地通知(旧接口)。它主要作为“数据对象”使用,用于配置通知的触发时间、提示文案与附加信息。
7
7
 
8
8
  ## 实例成员 (Instance members)
9
9
 
@@ -19,7 +19,7 @@ description: 本地通知对象(旧)。可设置触发时间、提示文案
19
19
 
20
20
  ## 类成员 (Class members)
21
21
 
22
- 当前运行时未额外暴露 `UILocalNotification` 的类成员。
22
+ 当前接口未额外暴露 `UILocalNotification` 的类成员。
23
23
 
24
24
  ## 相关
25
25
 
@@ -11,14 +11,14 @@ description: 长按手势识别器。支持最小按压时长、允许移动距
11
11
 
12
12
  | 属性 | 类型 | 说明 |
13
13
  | --- | --- | --- |
14
- | `allowableMovement` | number | 允许的最大移动距离(超过后可能识别失败)。 |
14
+ | `allowableMovement` | number | 允许的最大移动距离(超过后会识别失败)。 |
15
15
  | `minimumPressDuration` | number | 最小按压时长(秒)。 |
16
16
  | `numberOfTapsRequired` | number | 所需点击次数。 |
17
17
  | `numberOfTouchesRequired` | number | 所需触点数。 |
18
18
 
19
19
  ## 类成员 (Class members)
20
20
 
21
- 当前运行时未额外暴露 `UILongPressGestureRecognizer` 的类成员。
21
+ 当前接口未额外暴露 `UILongPressGestureRecognizer` 的类成员。
22
22
 
23
23
  ## 相关
24
24
 
@@ -11,7 +11,7 @@ description: 导航栏视图。管理导航项栈、左右按钮、标题/提示
11
11
 
12
12
  | 属性 | 类型 | 说明 |
13
13
  | --- | --- | --- |
14
- | `title` | string | 标题(部分运行时会把它映射到 `topItem.title`)。 |
14
+ | `title` | string | 标题(插件环境会把它映射到 `topItem.title`)。 |
15
15
  | `prompt` | string \| null | 提示文案。 |
16
16
  | `items` | NSArray | 导航项栈。 |
17
17
  | `topItem` | UINavigationItem | 只读。栈顶导航项。 |
@@ -42,7 +42,7 @@ description: 导航栏视图。管理导航项栈、左右按钮、标题/提示
42
42
 
43
43
  ## 类成员 (Class members)
44
44
 
45
- 当前运行时未额外暴露 `UINavigationBar` 的类成员。
45
+ 当前接口未额外暴露 `UINavigationBar` 的类成员。
46
46
 
47
47
  ## 相关
48
48
 
@@ -36,7 +36,7 @@ description: 导航控制器。管理 ViewController 栈,并控制导航栏/
36
36
 
37
37
  ## 类成员 (Class members)
38
38
 
39
- 当前运行时未额外暴露 `UINavigationController` 的类成员。
39
+ 当前接口未额外暴露 `UINavigationController` 的类成员。
40
40
 
41
41
  ## 相关
42
42
 
@@ -32,7 +32,7 @@ description: 导航项。用于配置标题、左右按钮、返回按钮与提
32
32
 
33
33
  ## 类成员 (Class members)
34
34
 
35
- 当前运行时未额外暴露 `UINavigationItem` 的类成员。
35
+ 当前接口未额外暴露 `UINavigationItem` 的类成员。
36
36
 
37
37
  ## 相关
38
38
 
@@ -27,7 +27,7 @@ description: 页码指示控件。支持设置页数、当前页、单页隐藏
27
27
 
28
28
  ## 类成员 (Class members)
29
29
 
30
- 当前运行时未额外暴露 `UIPageControl` 的类成员。
30
+ 当前接口未额外暴露 `UIPageControl` 的类成员。
31
31
 
32
32
  ## 相关
33
33
 
@@ -29,7 +29,7 @@ description: 分页容器控制器。支持设置数据源/代理、转场样式
29
29
 
30
30
  ## 类成员 (Class members)
31
31
 
32
- 当前运行时未额外暴露 `UIPageViewController` 的类成员。
32
+ 当前接口未额外暴露 `UIPageViewController` 的类成员。
33
33
 
34
34
  ## 相关
35
35
 
@@ -24,7 +24,7 @@ description: 平移手势识别器。支持查询/设置 translation,并获取
24
24
 
25
25
  ## 类成员 (Class members)
26
26
 
27
- 当前运行时未额外暴露 `UIPanGestureRecognizer` 的类成员。
27
+ 当前接口未额外暴露 `UIPanGestureRecognizer` 的类成员。
28
28
 
29
29
  ## 相关
30
30
 
@@ -13,7 +13,7 @@ description: 系统剪贴板,读写文本与图片等。
13
13
 
14
14
  ## 实例成员 (Instance members)
15
15
 
16
- ### 属性(常用)
16
+ ### 属性
17
17
 
18
18
  | 属性 | 类型 | 说明 |
19
19
  |------|------|------|
@@ -3,7 +3,7 @@ title: UIPickerView
3
3
  description: 滚轮选择器视图。支持多列组件、行选择、刷新组件,以及通过 dataSource/delegate 提供内容。
4
4
  ---
5
5
 
6
- `UIPickerView` 继承自 [UIView](/reference/uikit/uiview/),用于展示多列滚轮选择器。插件运行时通过 `dataSource` 与 `delegate` 提供行数与行视图。
6
+ `UIPickerView` 继承自 [UIView](/reference/uikit/uiview/),用于展示多列滚轮选择器。插件环境通过 `dataSource` 与 `delegate` 提供行数与行视图。
7
7
 
8
8
  ## 实例成员 (Instance members)
9
9
 
@@ -22,7 +22,7 @@ description: 滚轮选择器视图。支持多列组件、行选择、刷新组
22
22
  | --- | --- | --- | --- |
23
23
  | `numberOfRowsInComponent(component)` | component: number | number | 返回某组件的行数。 |
24
24
  | `rowSizeForComponent(component)` | component: number | { width: number, height: number } | 返回某组件行尺寸。 |
25
- | `viewForRowForComponent(row, component)` | row: number, component: number | UIView \| null | 返回某行对应的 view(由运行时/代理提供)。 |
25
+ | `viewForRowForComponent(row, component)` | row: number, component: number | UIView \| null | 返回某行对应的 view(由插件环境/代理提供)。 |
26
26
  | `reloadAllComponents()` | — | void | 刷新全部组件。 |
27
27
  | `reloadComponent(component)` | component: number | void | 刷新指定组件。 |
28
28
  | `selectRowInComponentAnimated(row, component, animated)` | row: number, component: number, animated: boolean | void | 选中指定行。 |
@@ -30,7 +30,7 @@ description: 滚轮选择器视图。支持多列组件、行选择、刷新组
30
30
 
31
31
  ## 类成员 (Class members)
32
32
 
33
- 当前运行时未额外暴露 `UIPickerView` 的类成员。
33
+ 当前接口未额外暴露 `UIPickerView` 的类成员。
34
34
 
35
35
  ## 相关
36
36
 
@@ -16,7 +16,7 @@ description: 捏合缩放手势识别器。支持 scale 读写与 velocity 读
16
16
 
17
17
  ## 类成员 (Class members)
18
18
 
19
- 当前运行时未额外暴露 `UIPinchGestureRecognizer` 的类成员。
19
+ 当前接口未额外暴露 `UIPinchGestureRecognizer` 的类成员。
20
20
 
21
21
  ## 相关
22
22
 
@@ -29,7 +29,7 @@ description: 弹出层控制器(旧)。可设置 contentViewController、从
29
29
 
30
30
  ## 类成员 (Class members)
31
31
 
32
- 当前运行时未额外暴露 `UIPopoverController` 的类成员。
32
+ 当前接口未额外暴露 `UIPopoverController` 的类成员。
33
33
 
34
34
  ## 相关
35
35
 
@@ -7,14 +7,13 @@ description: 响应链基类(事件/第一响应者)。
7
7
 
8
8
  ## 实例成员 (Instance members)
9
9
 
10
- `UIResponder` 在插件运行时环境中可用的成员较多,且多数会由子类(如 `UIView`、`UIViewController`)以更直观的方式间接使用。若你需要定位某个事件/响应相关成员,建议直接用站内搜索成员名。
10
+ `UIResponder` 可用的成员较多,且多数会由子类(如 `UIView`、`UIViewController`)以更直观的方式间接使用。若你需要定位某个事件/响应相关成员,直接用站内搜索成员名。
11
11
 
12
12
  ## 类成员 (Class members)
13
13
 
14
- 当前运行时未额外暴露 `UIResponder` 的类成员。
14
+ 当前接口未额外暴露 `UIResponder` 的类成员。
15
15
 
16
16
  ## 提示
17
17
 
18
18
  - 事件分发相关成员较多(touch/press/motion/remoteControl 等)。
19
- - 在插件里你通常通过 `UIView`/`UIViewController` 间接使用它。
20
-
19
+ - 在插件里你默认通过 `UIView`/`UIViewController` 间接使用它。
@@ -16,7 +16,7 @@ description: 旋转手势识别器。支持读取/设置 rotation,并读取 ve
16
16
 
17
17
  ## 类成员 (Class members)
18
18
 
19
- 当前运行时未额外暴露 `UIRotationGestureRecognizer` 的类成员。
19
+ 当前接口未额外暴露 `UIRotationGestureRecognizer` 的类成员。
20
20
 
21
21
  ## 相关
22
22
 
@@ -3,7 +3,7 @@ title: UIScreenMode
3
3
  description: 屏幕显示模式对象,提供像素比例与尺寸信息。
4
4
  ---
5
5
 
6
- `UIScreenMode` 表示某个屏幕的显示模式(分辨率/尺寸)。通常从 `UIScreen.availableModes` 获取,或由 `UIScreen.currentMode` 返回。
6
+ `UIScreenMode` 表示某个屏幕的显示模式(分辨率/尺寸)。默认从 `UIScreen.availableModes` 获取,或由 `UIScreen.currentMode` 返回。
7
7
 
8
8
  ## 实例成员 (Instance members)
9
9
 
@@ -14,4 +14,4 @@ description: 屏幕显示模式对象,提供像素比例与尺寸信息。
14
14
 
15
15
  ## 类成员 (Class members)
16
16
 
17
- 当前运行时未额外暴露 `UIScreenMode` 的类成员。
17
+ 当前接口未额外暴露 `UIScreenMode` 的类成员。
@@ -131,4 +131,4 @@ zoomToRectAnimated(rect: any, animated: boolean): void
131
131
 
132
132
  ## 类成员 (Class members)
133
133
 
134
- 当前运行时未额外暴露 `UIScrollView` 的类成员。
134
+ 当前接口未额外暴露 `UIScrollView` 的类成员。