• 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
Broken action
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Broken action


  • Subject: Broken action
  • From: T Reaves <email@hidden>
  • Date: Sat, 17 Jan 2004 21:38:40 -0500

O.K., this is a bit frustrating. As I am learning Cocoa & Objective-C
programming, and IB as well, I tend to change things as I think of
better ways of doing them. I have an a controller class with an
IBAction outlineSelectionChanged. I created a connection from the
outline to the controller, and all seemed to work.

I had created the connection to the controller instead of the data
source as some other work needed to be done; once it is done, the
controller forwards the call to the data source. All well and good.

So tonight I changed a few of the IBOutlet & IBAction names. In IB I
reloaded the controller header. When presented with the Merge/Replace
option, I chose replace. Now, first of all, I found this dialog a bit
confusing, until I realized that my instantiated instance of the
controller's signatures were different. As I did not want the
instantiated instance to keep the old ones, I chose replace. Now, it
does not work.

I have tried disconnecting and reconnecting the connection between the
outline and the controller. When I drag this connection from the
outline to the controller, I see the currently defined actions. I
chose the one I want (outlineSelectionChanged). But when I save and
run, the method does not get called when I click on something
different.

I disconnection the link, and drew the connection from the outline to
the original method in my data source, and that does get called. But
when I disconnect that, and connect it back to the controller, it does
not get called.

Any ideas?

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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: Broken action
      • From: Jonathan Jackel <email@hidden>
  • Prev by Date: NSTableView pre-select column sort
  • Next by Date: Re: NSTextView How do you turn off line wrap?
  • Previous by thread: NSTableView pre-select column sort
  • Next by thread: Re: Broken action
  • Index(es):
    • Date
    • Thread