Re: Opening a window in Core Data application
Re: Opening a window in Core Data application
- Subject: Re: Opening a window in Core Data application
- From: Wayne Pascoe <email@hidden>
- Date: Thu, 30 Mar 2006 21:46:46 +0100
Apologies if this lands here twice, but I got a bounce when I first
replied...
On 30 Mar 2006, at 21:15, Wain wrote:
Hi,
For information you can:
1.
Assuming Alexandria_AppDelegate is called the app delegate for a
reason you can call:
Alexandria_AppDelegate *delegate = [[NSApplication
sharedApplication] delegate];
to return your app delegate instance.
You can then add and call an accessor on Alexandria_AppDelegate to
access the outlet.
When I created a new core data application named Alexandria,
Alexandria_AppDelegate was automatically created.
Although why do you want this interaction between your two windows?
It doesn't sound very normal or user friendly to me.
The normal way this type of interface might be put together is to
have the current contents of the second window (editing stuff)
below the archive table view in the first window.
Alternatively maybe the second window could be an inspector panel
rather than a standard window.
I'm looking for the best way to present the information and also
allow the user to manage it. I can't see how to produce all of it on
one screen, as there may be a long list of archives over time.
I also want to allow use of a file browser (not that I'm anywhere
near working that one out yet :D) to add the list of files to the
archive eventually. The user will then be able to enter additional
data for each file.
Is that the wrong way to go about it ?
--
Wayne Pascoe (gpg --keyserver www.co.uk.pgp.net --recv-keys 79A7C870)
If you can't dazzle them with brilliance, riddle
them with bullets
Attachment:
PGP.sig
Description: This is a digitally signed message part
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden