Book Image

Swift: Mastering the Core Concepts

By : Jonathan Crooke
Book Image

Swift: Mastering the Core Concepts

By: Jonathan Crooke

Overview of this book

Swift is a new, general-purpose, multi-paradigm, and compiled programming language developed by Apple Inc. for iOS, macOS, watchOS, tvOS, and Linux. This course introduces you to Swift, and the various ways you can get started on your current platform. In comparison to Objective-C, Swift is a reasonably "large" language, with many native features. This course teaches you the fundamentals of the language and features that will be essential to mastery. Depth is avoided, in favor of introducing the developers to the most common functions or core features. This course begins with an introduction to the Swift language and how to write basic Swift code. You will then build your Swift foundation by learning important concepts such as collection types, generics, protocols, type casting, and type checking. Finally, you will be introduced to closures. By the end of this course, you will be ready to take a step towards attaining mastery of Swift.
Table of Contents (10 chapters)
Chapter 7
Collection Types
Content Locked
Section 1
Swift native collection types
In this video, we will understand array as a Swift native collection type. Here is what is in store for you: - Learn array as a generic type - Explore the declaration array syntax - Explore array operations in-depth and try in Xcode