Graphics Programs Reference
In-Depth Information
More About SQL
In this chapter, you used SQLite via Core Data. If you're curious about what SQL com-
mands Core Data is executing, you can use a command-line argument to log all communic-
ations with the SQLite database to the console. From the
Product
menu, choose
Edit
Scheme...
. Select the
Run Homepwner.app
item and the
Arguments
tab. Add two argu-
ments:
-com.apple.CoreData.SQLDebug
and
1
.
Figure 16.14 Turning on Core Data logging