Understanding uniqueness of selectors in Objective-C
I am having problem understanding part of the function of "selectors", as described in Apple's guide. I've bolded the parts where I am getting confused: In Objective-C, selector has two meanings. It can be used to refer simply to the name of a method when it’s used in a source-code message to an object. It also, though, refers to the unique identifier that replaces the name when the source code is compiled. Compiled selectors are of type SEL. All methods with the same name have the same selector. You can use a selector to invoke a method on an object—this provides the basis for the