Bcc:
Subject: Problem Solved,and Thanks Re: Opening persistent data store
Reply-To:
In-Reply-To: <[EMAIL PROTECTED]>
A note of thanks to Jerry, Charles, and Quincey
And an update on my progress.
Sorry this took so long, but I haven't had much chance to work on this
during th
On Nov 8, 2008, at 11:06 PM, Jerry Krinock wrote:
Try -[NSDocument readFromData:ofType:error:]. True, because you
must read an sqlite database, you're not going to use the data that
you are passed as an argument. But that's OK. It will be
autoreleased and go away.
What if the file is a
I'm not sure I entirely understand, but I'll give this a shot ...
On Nov 8, 2008, at 19:49, John Velman wrote:
Now, to open the database I use the File -> Open menu, connected to a
method findDatabase in the "first responder" of the NIB. This falls
through to MyDocument, which implements that
On 2008 Nov, 08, at 19:49, John Velman wrote:
-beginSheetForDirectory and -openPanelDidEnd
Yikes. Apple already did this for you. Playing with these methods is
not any fun.
Works like a charm.
Well, except for the trouble you discovered later...
But is this the "right" way to go, o
This is not a "how to" question, it's an "is there a better way" question.
Needless to say, I'm new at this.
My app uses a sqlite3 database for it's document data. I'm NOT using core
data for a variety of reasons.
The app is document based and has multiple windows with multiple views into
the da