Swift Video How-To, 1/e

Video description

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

Table of contents

  1. Learn how to...
    1. Get Started with Xcode 00:07:10
    2. Create Swift Code in a Playground 00:03:18
    3. Create Swift Code in a REPL 00:02:17
    4. Assign Constants and Variables 00:02:41
    5. Find the Minimum and Maximum Ranges of Integers 00:03:19
    6. Find the Properties and Methods on Data Types 00:03:34
    7. Use Unary Operators 00:03:06
    8. Use Binary Operators 00:05:00
    9. Use Logical Operators 00:02:36
    10. Create and Access Data in an Array 00:01:52
    11. Remove Items from an Array 00:02:41
    12. Perform Actions on Sets 00:04:16
    13. Use if Statements in Practice 00:03:05
    14. Use switch Statements to Grade Papers 00:02:16
    15. Create and Unwrap Optional Values 00:03:01
    16. Conditionally Unwrap with Nil Coalescing 00:01:49
    17. Unwrap Multiple Optional Values 00:02:36
    18. Use a Repeat-While Loop to Compare Values 00:02:59
    19. Iterate Through Arrays with For-In Loops 00:02:02
    20. Create a Function to Return Mean, Median, Mode 00:04:30
    21. Exit Early from Functions 00:02:21
    22. Perform a Function on Each Member of an Array 00:03:00
    23. Rewrite the median Function 00:04:48
    24. Add an Instance Method to a Struct 00:02:37
    25. Define a Class with Properties and Methods 00:02:21
    26. Override an Instance Method 00:03:32
    27. Prevent Overriding a Superclass Method 00:01:54
    28. Create an Enum with Raw Values and Shorthand Syntax 00:03:15
    29. Add Instance Methods to Enums 00:02:20
    30. Use Initializers to Set Default and Custom Values 00:03:26
    31. Implement Initialization Chaining 00:04:37
    32. Provide a Custom Setter 00:02:13
    33. Override a Property and Create Custom Accessors 00:02:02
    34. Use Type Properties and Type Methods 00:02:27
    35. Use Subscripts to Help a Teacher Grade Papers Faster 00:02:43
    36. Determine an Instance's Type 00:02:55
    37. Use Initializers and Deinitializers 00:02:28
    38. Resolve Strong Reference Cycles with Weak References 00:01:58
    39. Use Closure Capture Lists to Resolve Reference Cycles in Closures 00:02:42
    40. Implement Class Inheritance and Multiple Protocol Inheritance 00:04:42
    41. Use Protocols for Delegation 00:04:57
    42. Extend the String Type to Add Subscripts 00:02:36
    43. Add Custom Initializers with Extensions 00:02:35
    44. Extend Int to Adopt and Conform to a Protocol 00:01:18
    45. Use Optional Chaining with Subscripts 00:05:14
    46. Use Optional Chaining to Call Instance Methods 00:03:30
    47. Create a Generic Function to Return a Unique Array 00:02:37
    48. Create a Queue Type to Store Unique Values 00:02:55
    49. Override Default Protocol Implementations 00:02:52
    50. Convert Sequences from Protocol Types to Concrete Types 00:02:06
    51. Catch Errors from a Throwing Function 00:03:19
    52. Defer Delegate Execution 00:03:21
    53. Introduce an Objective-C Project 00:05:50
    54. Add a Swift File to an Objective-C Project 00:05:49
    55. Extend an Objective-C Class with Swift 00:02:46
    56. Create and Iterate with map and forEach 00:04:10
    57. Chain Together flatMap Functions to Create URLs 00:03:17
    58. Create and Overload Operators 00:04:33

Product information

  • Title: Swift Video How-To, 1/e
  • Author(s):
  • Release date: November 2015
  • Publisher(s): Pearson
  • ISBN: 9780134464558