Mailing Lists: Apple Mailing Lists

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

Problem with object communication



Hi everyone!

I have a very delicate problem involviing several objects that should communicate together only with my "MainController" object - my objects are as follows

MainWindowController
-> Outlet to MainController

PrefWindowController
-> Outlet to MainController

StatusMenuController
-> Outlet to MainController

MainController
-> Outlet to MainWindowController
-> Outlet to PrefWindowController
-> Outlet to StatusMenuController

Because i does not want those "object  does not respond to " compiler warnings i've typed them statically (MainController *MyMainController etc) so that the compiler knows which object is capable of using which methods

The problem is that i get compiler errors (parse error before) - i think it is because i include in MainController.h in MainWindowController.h and MainWindowController.h in MainController.h (so that the compiler knows which object is capable of doing what)

I dont know how i could get rid of those errors except for dynamically type them which would give me those " does not respond to" warnings :(

I would appreciate any help!

 Ferdinand Svehla
_______________________________________________
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.



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.