Re: CoreData document based app with single source
Re: CoreData document based app with single source
- Subject: Re: CoreData document based app with single source
- From: Mayo Jordanov <email@hidden>
- Date: Sat, 24 Dec 2005 11:54:24 -0800
OK, got it. Just in case somebody else if following this and for the
completeness of the archive ...
I was connecting the window's delegate to instance of my
NSWindowController subclass instead of the File's Owner.
thanks everyone again!
mayo
On Dec 22, 05, at 15:11 , Mayo Jordanov wrote:
Thanks Shawn and everyone else for your replies. I knew I was
missing out on some documentation! I finally got some time to work
on this some more, but I'm hitting some problems such as the
controller being expected to be kvc compatible for some managed
object keys (<NIWindowController 0x3432c0> valueForUndefinedKey:]:
this class is not key value coding-compliant for the key
managedObjectContext.) I didn't spent much time yet trying to
figure out what I'm messing up, so I'll reply later on once I've
spent more time on this and didn't manage to figure it out.
thanks again!
mayo
On Dec 10, 05, at 19:06 , Shawn Erickson wrote:
A document base application is not restricted to showing a single
window for a given document. Review...
<http://developer.apple.com/documentation/Cocoa/Conceptual/Documents/
Tasks/FAQ.html#//apple_ref/doc/uid/20000954-1081525>
<http://developer.apple.com/documentation/Cocoa/Conceptual/Documents/
Tasks/FAQ.html#//apple_ref/doc/uid/20000954-1080900>
<http://developer.apple.com/documentation/Cocoa/Conceptual/Documents/
Tasks/SubclassNSDocument.html#//apple_ref/doc/uid/20000028>
On Dec 10, 2005, at 9:23 AM, Marcus S. Zarra wrote:
I ran into a similar situation a while back. From the sound of
your description you want an application that has a single data
source but displays multiple windows. If I am understanding you
correctly then you do not want a document based application but
simply a normal cocoa application that has multiple windows and
possibly multiple nib files.
The templates are just examples of normal program designs. They do
not cover every possible design out there and while your design
could be considered "normal" there is no real template for it. My
suggestion is to create a basic core data application, configure it
to be able to load the single file from any location (the example
stores the single file in app support) and then simply add windows
to display the data from that single file as needed.
Marcus
_______________________________________________
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
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