5 ms·
Collisions are very very rare. In over 10 years of Objective-C development I have maybe seen it once. Also: clang got much better at detecting collisions at com
by LinaLauneBaer 11y ago
Collisions are very very rare. In over 10 years of Objective-C development I have maybe seen it once. Also: clang got much better at detecting collisions at compile time (where possible).
That said: Swift extensions are safer because private categories cannot collide.
- swolchok 11y agoTry OBJC_PRINT_REPLACED_METHODS sometime. It's frightening. (http://stackoverflow.com/questions/9466732/in-objective-c-how-to-prevent-name-collision-in-category-methods http://stackoverflow.com/questions/9466732/in-objective-c-ho...)
- spiralpolitik 11y agoThis has been my experience as well.