Selector in Method over riding <p>In the case of method over riding in objective c how selector knows that which method needs to call via selector?</p> <p>As we dont pass any arguments in slector section...</p> <p>Ex: in <code>tmp.m</code> file There is 2 methods with different arguments</p> <pre><code>-(void)details { } -(void)details:(NSDictionary *)result { } </code></pre> <p>And when m call another method with the use of selector as:</p> <pre><code>[mc detailstrac:[[NSUserDefaults standardUserDefaults] valueForKey:@"userID"] tracid:self.trac_id selector:@selector(details:)]; </code></pre> <p>How selector knows to call which method !</p> <p>I have checked that</p> <pre><code>-(void)details:(NSDictionary *)result { } </code></pre> <p>this method is called every time then what about </p> <pre><code>-(void)details { } </code></pre> <p><strong>this ?</strong></p>