Xcode don't respond actions from App Delegate

Hi all,

I can’t link my button with action from App Delegate if action wrote as:

on callAction:sender
-- some things
end callAction:

Xcode don’t respond this as action.

If I change to

on callAction_(sender)
-- some things
end callAction_

All work well, until my AS editor again will not change characters…

Regards, Alexey

P.S. Xcode 5.1.1, OS X 10.9.3.

That was the case before Xcode 5.1, but as far as I can see, it was fixed in 5.1 and later. Are you sure you’re running 5.1.1? If you have a simple example project that shows the problem, I’d be interested in your emailing it to me.

Also, if you use my ASObjC Explorer as an external editor, it has a setting to automatically convert action handlers to the old-style syntax when you save.

Hi, Shane

I probably made ‹‹a mistake somewhere, in a new project Xcode sees the construction of normal.

In my work script is no. All links to these actions workers, but marked by a yellow triangle with an exclamation mark.
(The action ‘actionName’ is not defined in ‘AppDelegate’)

Do you have any comments on the same line? As in:

on doBlah:sender -- something here

or:

on doBlah:sender # something here

Hi again,

some have, some no, no difference for response

That’s odd. I know it happened with commented lines, because that was one of the bugs I logged. But I thought the problem had been cleared up altogether.