• 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
Re: Debugging Faux Delegate calls
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging Faux Delegate calls


  • Subject: Re: Debugging Faux Delegate calls
  • From: Ken Thomases <email@hidden>
  • Date: Mon, 19 Oct 2015 18:23:56 -0500

On Oct 19, 2015, at 4:11 PM, email@hidden wrote:
>
> I have 4 NSComboBoxes in a view.  I have a controller class which acts as the delegate for these ComboBoxes. For some reason, after a period of time, and I am trying to figure out why this is happening, when I enter ComboBoxA, my delegate is invoked, but when I query the ComboBox making the call, it is different from the box I am in.

Show the code of the delegate methods and how you "query the ComboBox making the call" and determine which it is.

At a guess, I suspect you have an assignment where you meant to have an equality comparison.

Regards,
Ken


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Debugging Faux Delegate calls (From: email@hidden)

  • Prev by Date: Re: titleForHeaderInSection wrong section count.
  • Next by Date: Re: Swift: Trying to use ViewController(). to access object
  • Previous by thread: Debugging Faux Delegate calls
  • Next by thread: Labeling switches/checkboxes on iOS
  • Index(es):
    • Date
    • Thread