public NotesTableControllerIPad()
        {
            Notes = Note.ReadNotes();

            NotesCoordinator.Coordinator.NoteSaved += delegate {
                TableView.ReloadData();
            };

            NSNotificationCenter.DefaultCenter.AddObserver(this, new Selector("updateSettings:"), new NSString("NSUserDefaultsDidChangeNotification"), null);
        }
        public NotesTableController()
        {
            // read from SQLite database
            _notes = Note.ReadNotes();

            NSNotificationCenter.DefaultCenter.AddObserver(
                this,
                new Selector("updateSettings:"),
                new NSString("NSUserDefaultsDidChangeNotification"),
                null);

            // alternately, read notes from serialized file
            // _notes = NoteListSerializationUtil.ReadNotes ();
        }