O'Reilly logo

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

Beginning Swift

Video Description

Master the fundamentals of programming in Swift 4

About This Video

  • Teaches you how to correctly structure and architect software using Swift
  • Uses real-world examples to connect the theory to a professional setting
  • Imparts expertise in the core Swift standard library

In Detail

We’ll begin with exploring the fundamental Swift programming concepts, language structure, and the Swift programming syntax. Then, we'll learn to create original custom operators with Swift operators, branching, and loops.

Moving on, we'll learn how to run application codes and compile errors. Having made progress with it, we’ll see how Swift compares to other computer languages and how to transform your thinking. Then, master the usage of key language elements, such as strings and collections. Finally, grasp how Swift supports modern application development using advanced features, such as built-in Unicode support and higher-order functions.

No prior Swift knowledge is required for this book, however some prior exposure to another object-oriented programming language will be beneficial.

Table of Contents

  1. Chapter 1 : Swift Basics
    1. Introduction 00:01:29
    2. Course Overview 00:02:14
    3. Swift Program Structure 00:04:55
    4. Swift Variables and Constants 00:10:14
    5. Tuples 00:05:45
    6. Optionals 00:04:25
    7. Accessing and Using Optional Values 00:05:20
    8. Swift Data Types 00:02:02
    9. Declaring and Assigning 00:08:09
    10. Boolean and Character 00:04:07
    11. String 00:02:36
    12. Enums 00:04:24
    13. Summary 00:00:47
  2. Chapter 2 : Swift Operators and Control Flow
    1. Lesson Overview 00:01:27
    2. Swift Operators – part 1 00:04:01
    3. Swift Operators – part 2 00:02:32
    4. Branching 00:02:24
    5. Implementing the statements 00:04:37
    6. Rules for using syntax 00:03:08
    7. Loops 00:03:57
    8. Transfer statements 00:01:58
    9. while loop and repeat while loop 00:01:46
    10. Summary 00:00:27
  3. Chapter 3 : Functions, Classes, and Structs
    1. Lesson Overview 00:01:41
    2. Functions 00:03:15
    3. Argument Labels 00:02:40
    4. Parameter Default and Returning Values 00:04:28
    5. Variadic Parameters 00:04:22
    6. Functions as Parameters and Closures 00:02:29
    7. Error Handling 00:02:22
    8. Using do without catch and the guard statement 00:02:04
    9. Object Oriented Features 00:04:14
    10. Summary 00:00:31
  4. Chapter 4 : Collections
    1. Lesson Introduction 00:02:13
    2. Arrays 00:07:34
    3. Sets 00:04:01
    4. Dictionaries 00:02:22
    5. Summary 00:00:28
  5. Chapter 5 : Strings
    1. Lesson Introduction 00:00:56
    2. String Fundamentals 00:06:27
    3. Using Strings 00:04:16
    4. Substring 00:03:55
    5. Summary 00:00:25
  6. Chapter 6 : Functional Programming and Lazy Operations
    1. Lesson Introduction 00:02:28
    2. Functional Methods 00:04:32
    3. Using Functional Methods 00:04:16
    4. Lazy Operations 00:04:53
    5. Swifty Code 00:04:34
    6. Summary 00:01:16