O'Reilly logo

Swift Programming: The Big Nerd Ranch Guide by John Gallagher, Matthew Mathias

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Part III Collections and Functions

As a programmer, you will often have a collection of related values that you need to keep together. Collections in Swift help you do this, and this part of the book will introduce you to Swift’s different collection options.

Swift provides functions to help developers transform data into something meaningful for the user or accomplish some other task. These chapters also describe how to use the system functions provided by the Swift language as well as how to create your own functions to accomplish your goals.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required