Swift Variadic Parameters
Stewart Lynch
0:00 / 0:00
Swift Variadic Parameters
2 231 просмотр · 3 года назад
Stewart Lynch
27 тыс. подписчиков
2 231 просмотр · 3 года назад
In this video, I want to look at Variadic parameters in Swift.
If you are not clear of exactly what variadic parameters are, and how to use them, then this might help you.
Also, if you think you have never used variadic parameters in your code, then you are mistaken because I am pretty sure you have and as a bonus, we will take that knowledge and extend it to be something even more useful so stick with me until the end.
If you want to support my work, you can buy me a coffee :)
https://ko-fi.com/stewartlynch
Table of Contents:
0:00 Introduction
1:13 The Basics
7:46 Debug Print function
Starter Project Files:
(If you are having problems downloading zip files, use Safari. Chrome restricts zip files by default)
https://www.createchsol.com/StarterPr...
Completed Project:
https://github.com/StewartLynch/Varia...
References mentioned in video:
reduce, filter, removeAll video
• reduce, filter, removeAll
Swift Documentation Page - Lexical Structure
https://docs.swift.org/swift-book/doc...
Other References:
Stewart Lynch's YouTube Channel:
/ @stewartlynch
Stewart Lynch on Mastodon:
https://iosdev.space/@StewartLynch
Stewart Lynch on Twitter:
/ stewartlynch
Stewart Lynch on LinkedIn
/ stewartlynch