title: iphone global variable
body: <p>I want to open my SQLite database in my appDelegate class and reference that database in all my other classes that need the database.  I have tried using :
  static sqlite3 *database = nil;</p>
  
  <p>But when I try to reference it in my other classes with appDelegate.database, I get a compile error of "error: request for member 'database' in something not a structure or union."  How do you reference these types of properies?</p>