Pages

Friday, June 6, 2014

CoreData, SQLite and terminal Shtuff

These are some simple commands that can be used in terminal to manipulate data & files

Unix commands:
ls       list files
cd      change directory (directories should have NO embedded spaces for this Unix cmd
md     make directory
cd ..   up a directory help duh?

link for command tool UNIX commands - http://www.cs.colostate.edu/helpdocs/vi.html

sqlite3 commands:
sqlite3 filename.db   Opens the filename database
.help                          guess what

Xcode commands: 
-com.apple.CoreData.SQLDebug 1   Add as a schema argument to allow debugging of SQLite code
            goto Product/Edit Schema/Run app/Arguments/Arguments passed on Launch