Cocoa selectors

Im trying to use respondsToSelector and having problems working out the syntax

method someOtherMethod; optional;

is selector(someOtherMethod)

method someMethodWithParam(p:NSString); optional;

is selector(someMethodWithParam:)

method someMethodWithpParam(p:NSString) withqParam(q:NSString);optional;

is selector(someMethodWithpParam:withqParam:)

method someMethodWithParams(p:NSString; q:NSString); optional;

The last one I haven’t been able to work out.

It seems like it only works with multi part methods names ?

Cheers,
John

selector(someMethodWithParam::) should work