<p>I have a code sample that gets a <code>SEL</code> from the current object, </p>

<pre><code>SEL callback = @selector(mymethod:parameter2);
</code></pre>

<p>And I have a method like </p>

<pre><code> -(void)mymethod:(id)v1 parameter2;(NSString*)v2 {
}
</code></pre>

<p>Now I need to move <code>mymethod</code> to another object, say <code>myDelegate</code>.</p>

<p>I have tried:</p>

<pre><code>SEL callback = @selector(myDelegate, mymethod:parameter2);
</code></pre>

<p>but it won't compile. </p>

You can't pass a parameter in a @selector().
It looks like you're trying to implement a callback.  The best way to do that would be something like this:
```
```
[object setCallbackObject:self withSelector:@selector(myMethod:)];
```
```
Then in your object's setCallbackObject:withSelector: method: you can call your callback method.
```
```
-(void)setCallbackObject:(id)anObject withSelector:(SEL)selector {
    [anObject performSelector:selector];
}
```
```