Skip to Content
Swift Video How-To, 1/e
on-demand course

Swift Video How-To, 1/e

with Miller BJ
November 2015
Intermediate
3h 6m
English
Pearson

Overview

Learn how to...


Create Swift Code in a Playground

Create Swift Code in a REPL

Assign Constants and Variables

Find the Minimum and Maximum Ranges of Integers

Find the Properties and Methods on Data Types

Use Unary Operators

Use Binary Operators

Use Logical Operators

Create and Access Data in an Array

Remove Items from an Array

Perform Actions on Sets

Use if Statements in Practice

Use switch Statements to Grade Papers

Create and Unwrap Optional Values

Conditionally Unwrap with Nil Coalescing

Unwrap Multiple Optional Values

Use a Repeat-While Loop to Compare Values

Iterate Through Arrays with For-In Loops

Create a Function to Return Mean, Median, Mode

Exit Early from Functions

Perform a Function on Each Member of an Array

Rewrite the median Function

Add an Instance Method to a Struct

Define a Class with Properties and Methods

Override an Instance Method

Prevent Overriding a Superclass Method

Create an Enum with Raw Values and Shorthand Syntax

Add Instance Methods to Enums

Use Initializers to Set Default and Custom Values

Implement Initialization Chaining

Provide a Custom Setter

Override a Property and Create Custom Accessors

Use Type Properties and Type Methods

Use Subscripts to Help a Teacher Grade Papers Faster

Determine an Instance's Type

Use Initializers and Deinitializers

Resolve Strong Reference Cycles with Weak References

Use Closure Capture Lists to Resolve Reference Cycles in Closures

Implement Class Inheritance and Multiple Protocol Inheritance

Use Protocols for Delegation

Extend the String Type to Add Subscripts

Add Custom Initializers with Extensions

Extend Int to Adopt and Conform to a Protocol

Use Optional Chaining with Subscripts

Use Optional Chaining to Call Instance Methods

Create a Generic Function to Return a Unique Array

Create a Queue Type to Store Unique Values

Override Default Protocol Implementations

Convert Sequences from Protocol Types to Concrete Types

Catch Errors from a Throwing Function

Defer Delegate Execution

Introduce an Objective-C Project

Add a Swift File to an Objective-C Project

Extend an Objective-C Class with Swift

Create and Iterate with map and forEach

Chain Together flatMap Functions to Create URLs

Create and Overload Operators

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Watch now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

iOS 8 Video How-To

iOS 8 Video How-To

John Ray

Publisher Resources

ISBN: 9780134464558