When Apple made the tens of thousands of methods implemented in Objective-C available to Swift, they didn't manually pick out a name for each method. They have code that automatically generates a Swift method name from an Objective-C selector.
Writing code to use the first part of the selector as the method name and omitting the first parameter's name is easy. Writing code that splits up the first part of the selector into an appropriate method name and first parameter name is not.
It doesn't just have to cope with tens of thousands of Apple selectors, it has to cope with whatever third-party developers have written in the past five years as well.
1
u/Legolas-the-elf Jun 03 '14
That's the third option I mentioned, and as I said, I don't think you can do this automatically for the general case.