Swift - Part 15, Renaming Function Parameters

preview_player
Показать описание
In this video I walk you through a concept of renaming function parameters. How often do you come across a situation where name of the parameters in a function definition don't make any sense at all. And as part of refactoring the code, you want to rename the parameters. But you want to be able to do it in least messy way possible. Swift provides you a mechanism using which you can rename the parameters of the functions so that it becomes very easy to understand what parameters mean during function invocation.

Follow me on Twitter:
Рекомендации по теме