iOS 14 Programming for Beginners - Fifth Edition

iOS 14 Programming for Beginners - Fifth Edition

1
Section 1: Swift
10
Section 2:Design
15
Section 3:Code
24
Section 4:Features

Technical requirements

The Xcode playground for this chapter is available in the Chapter05 folder of the code bundle for this book, which can be downloaded here:

https://github.com/PacktPublishing/iOS-14-Programming-for-Beginner-Fifth-Edition

Check out the following video to see the Code in Action: https://bit.ly/37CatMC

If you wish to start from scratch, create a new playground and name it CollectionTypes. You can type in and run all of the code in this chapter as you go along.

Important information

To find out more about arrays, dictionaries, and sets, visit https://docs.swift.org/swift-book/LanguageGuide/CollectionTypes.html.

The first collection type you will learn about are arrays, which allow you to store information in an ordered list.

Unlock full access

Continue reading with a subscription

Packt gives you instant online access to a library of over 7,500 practical eBooks and videos, constantly updated with the latest in tech


Your notes and bookmarks