Custom open file panel
Custom open file panel
- Subject: Custom open file panel
- From: Koen van der Drift <email@hidden>
- Date: Fri, 4 Jul 2003 15:27:30 -0400
Hi,
I have created a panel through which the user can open a new document
using data retrieved from a database. I followed the preferencespanel
example in Ch7 of Hillegass' book Cocoa Programming for Mac OS X and
created a MyDatabaseWindowController plus corresponding nib file. All
the code for getting the data works, but how do I have my app open a
new document with this data? I already have a MyDocument class that
uses loadDataRepresentation which I use for opening files on the HD. I
created a notification from the MyDatabaseWindowController, but which
class should receive it so that a new document window will open with
the data?
thanks,
- Koen.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.