Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Documents and Projects



On Mar 30, 2004, at 6:59 PM, April Gendill wrote:

What kinds of messages need to be sent? I mean are you able to alter the project from a member's window? Or do you want to make sure that an alteration in the project would be reflected in a member even if the member was opened before the project?

Definitely the latter, but also I would like to account for the former. At the moment I can't think of a concrete example where I'd need to modify the project from a member (but I definitely need to be able to find out which project owns the member), but I'd like to make it possible in future versions if necessary.


sharedDocumentController. You can use it as an arbiter between the mainmenu controller, other documents or anything else that you'd like. The door can swing both ways if you need to communicate document to controller and controller to document.

Yeah. I'm thinking that's the way to go.


I could be missing what your goal is though. I mean working in a project like that, it is easy to find out the path of each open document and if the open document is a child of the project you can send messages by accessing it in the array of open documents or through the shared controller.

That's what I want to do, I've just never done it and wasn't sure if there was a more "correct" way of doing it.



Seth Willits
------------------------------------------------------------------------ ---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic
Webmaster for REALbasic Game Central - http://www.freaksw.com/rbgames

"More praise of peace is easy but ineffective. What is needed is active
participation in the fight against war and everything that leads to it."
-- Albert Einstein
------------------------------------------------------------------------ ---
_______________________________________________
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.


References: 
 >Documents and Projects (From: Seth Willits <email@hidden>)
 >Re: Documents and Projects (From: Glenn Andreas <email@hidden>)
 >Re: Documents and Projects (From: Seth Willits <email@hidden>)
 >Re: Documents and Projects (From: April Gendill <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.