small medium large xlarge

Generic-user-small
13 Apr 2009, 18:57
Paul Kline (1 post)

Hi guys,

I need some some insight on the difference. This is how I have it in my head but I do not ‘know’ if this is correct.

setting up a sent action is equivalent to saying this on a NSControl object.

[backButton setTarget:myWebView];
[backButton setAction:@selector(goBack)];

and inside ‘WebView’ class there is a method like this

-(IBAction) goBack:(id)sender
{
  [self MoveBackwards];
}

receivedAction is like ???? I think its the same just another way of looking at it? but the IB has it listed differently.

Thanks,

Paul

Biopic_100x100_pragsmall
13 Apr 2009, 19:15
Bill Dudney (917 posts)

Hi Paul,

The received action in the example is goBack:

If I understand your question that is, if not please ask again.

Good luck!

You must be logged in to comment