API参考MarginNote核心
OutlineView
大纲视图(旧版接口)。继承自 UITableView,并提供从 indexPath 反查笔记的能力。
OutlineView 用于展示笔记本的大纲/列表视图。它继承自 UITableView,并额外暴露了一个把 indexPath 映射回笔记对象的方法。
实例成员 (Instance members)
| 方法 | 参数 | 返回值 | 说明 |
|---|---|---|---|
noteFromIndexPath(indexPath) | indexPath: NSIndexPath | MbBookNote | null | 根据表格行的 indexPath 获取对应的笔记对象。 |
类成员 (Class members)
当前接口未额外暴露 OutlineView 的类成员。