• 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
Sometimes a method gets called, sometimes it doesn't.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sometimes a method gets called, sometimes it doesn't.


  • Subject: Sometimes a method gets called, sometimes it doesn't.
  • From: {le_MoJo} <email@hidden>
  • Date: Fri, 26 Apr 2002 18:19:36 +0200

Well, first of all, hi to the list!

Second, I'm quite a beginner, so please forgive my (sometimes) stupid questions.

Third, my problem. I have an app with two controllers: a mainController and a prefsManager. They are both connected as outlets for each other in IB (that is IBOutlet id mainController defined in the prefsmanager class, and vice-versa). In prefsManager i call one of mainController's methods (-updateSwitches), that is, i do [mainController updateSwitches]; and when I compile, I get the following message: warning: cannot find method; and warning: -updateSwitches return defaults to id. Well, you say, there's something you are not doing well... But the next time i try to compile, IT WORKS!! without touching anything! What could that be?

Rafael de Jaime
Madrid, Spain
_______________________________________________
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: Sometimes a method gets called, sometimes it doesn't.
      • From: email@hidden
References: 
 >Re: NSInvalidArgumentException : can't send message to abstract object (From: "Erik M. Buck" <email@hidden>)

  • Prev by Date: Re: NSInvalidArgumentException : can't send message to abstract object
  • Next by Date: NSDocument: how to save document as a simple text file
  • Previous by thread: Re: NSInvalidArgumentException : can't send message to abstract object
  • Next by thread: Re: Sometimes a method gets called, sometimes it doesn't.
  • Index(es):
    • Date
    • Thread