Re: Broken action
Re: Broken action
- Subject: Re: Broken action
- From: T Reaves <email@hidden>
- Date: Sun, 18 Jan 2004 13:43:02 -0500
Yes. I've even exited and restarted.
On Jan 18, 2004, at 9:55 AM, Jonathan Jackel wrote:
>
Are you sure that you have saved your nib in IB? Even if you have
>
told XCode to always save files before compiling, IB behavior seems
>
spotty on this point.
>
>
Jonathan
>
>
>
On Jan 17, 2004, at 9:38 PM, T Reaves wrote:
>
>
> 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.
[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.