Using Variadic Parameters in Swift

Gabriel Theodoropoulos
3 min readSep 3, 2021
Photo by Diane Picchiottino on Unsplash

When coding in Swift, there is a function that all developers undeniably call generously and without much thinking, and that is print. We all use it every day, everywhere; and most of the times, it's our path towards fast and dirty debugging.

Even though print seems to be winning the battle among the most used commands in Swift, have you ever wondered how it makes it possible to accept an arbitrary…

Gabriel Theodoropoulos

An iOS & macOS app maker writing code in Swift. Author of countless programming tutorials. Content creator.