Using Variadic Parameters in Swift

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…

--

--

--

An iOS & macOS app maker writing code in Swift. Author of countless programming tutorials. Content creator. https://serialcoder.dev

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Gabriel Theodoropoulos

Gabriel Theodoropoulos

An iOS & macOS app maker writing code in Swift. Author of countless programming tutorials. Content creator. https://serialcoder.dev

More from Medium

Solving “FriendFace” 100DaysOfSwiftUI Challenge (Day 60, 61)

Solving FriendFace Challenge

Regex Text Validator in Swift

Using Custom Strongly Typed Values For Better Coding in Swift

A picture of three links of an iron chain.

Control Transfer Statements in Swift