Abstract
Collections are used in almost every application for data storage, retrieval, searching, and sorting. Recipes in this chapter will focus on the most common collection types, Array and Dictionary. Both arrays and dictionaries are generic collections in Swift; however, not all collections are arrays or dictionaries. Swift does provide lower level collection and sequence functions and protocols that perform individual features of the Array and Dictionary generic types.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2015 T. Michael Rogers
About this chapter
Cite this chapter
Rogers, T.M. (2015). Collections. In: Swift Recipes. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0418-4_3
Download citation
DOI: https://doi.org/10.1007/978-1-4842-0418-4_3
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-0419-1
Online ISBN: 978-1-4842-0418-4
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)