RWCoreDataViewer 1.0.2

RWCoreDataViewer 1.0.2

测试已测试
语言语言 SwiftSwift
许可证 MIT
发布上次发布2016年4月
SPM支持 SPM

richmondwatkins 维护。



  • 作者
  • Richmond Watkins

RWCoreDataViewer

RWCoreDataViewer 是查看您的应用程序持久化 Core Data 存储对象的最简单方式。RWCoreDataViewer 可以呈现一个自定义数据查看器,让您查看所有表格及其记录。

安装

pod 'RWCoreDataViewer' 添加到您的 Podfile 中

使用

要初始化调试查看器,请在您的 AppDelegate 中包含以下内容

managedObjectContext.initDebugView()

当您想要显示查看器时,只需在屏幕上任意地方三击即可。

其他 Core Data 工具

使用 ManagedObjectContext 扩展检索所有持久化数据作为 JSON 字符串

managedObjectContext.toJSON()