• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Problem with object communication
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with object communication


  • Subject: Problem with object communication
  • From: Ferdinand Svehla <email@hidden>
  • Date: Sat, 30 Nov 2002 18:42:47 +0100

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.

  • Follow-Ups:
    • Re: Problem with object communication
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Add Toolbar to Document Based Project
  • Next by Date: Re: testing for file open state...
  • Previous by thread: Re: Add Toolbar to Document Based Project
  • Next by thread: Re: Problem with object communication
  • Index(es):
    • Date
    • Thread