Blob: “binary large object”

An sqlite database can contain image files, sound files, etc.

Source code in Blob.zip

  1. main.m
  2. Class BlobAppDelegate
  3. Class Model
  4. Class ViewController
  5. Class View
  6. New York.png
  7. New Jersey.png
  8. Connecticut.png

Create the project

Put the .png files into the project folder. Highlight the Resources folder in Groups & Files and add the .png files to the project.

Project → Edit Active Target "Blob"
General → Linked Libraries
Add libsqlite3.dylib.