Home > Net >  How can the records in CoreData be viewed? | Xcode 14
How can the records in CoreData be viewed? | Xcode 14

Time:10-12

I am storing data in core data, would like to view the records without calling them in something like a ListView, anyway to just view the records somehow in Xcode 14 in table format like SQL?

CodePudding user response:

you can view the record using through dictionary directory path

let dirPaths = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true)

let docsDir = dirPaths[0]

print(docsDir)

  • Related