Abstract
In programming, a function is nothing but a named section of code – with or without arguments – which performs a specific task and may possibly also return a value. In this chapter, we’ll see how you can get the most out of them in Swift.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Rights and permissions
Copyright information
© 2019 Yanis Zafirópulos
About this chapter
Cite this chapter
Zafirópulos, Y. (2019). Functions. In: Swift 4 Recipes. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-4182-0_5
Download citation
DOI: https://doi.org/10.1007/978-1-4842-4182-0_5
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-4181-3
Online ISBN: 978-1-4842-4182-0
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)