Swift Talk

A weekly video series on Swift programming.

Subscribers-Only

Subscribers Only

#48 Server-Side Swift: Interfacing with PostgreSQL 28:50

We start writing a lightweight wrapper around the libpq C library to interface with PostgreSQL.

Subscribers-Only

Subscribers Only

#46 Combined Class and Protocol Requirements 15:59

We look at multiple ways to create variables that have a class type but also conform to a protocol.

  1. Classes
  2. UIKit
  3. Protocols
April 21, 2017
Subscribers-Only

Subscribers Only

#24 Delegates & Callbacks 15:29

We discuss the pros and cons of delegates versus callback functions and why delegate protocols are always class only.

Subscribers-Only

Subscribers Only

#14 Growing Trees with Classes and Structs 28:11

We build a tree structure beginning with a flat array of Ledger account names. We first implement the tree using a class, and then we refactor it to a struct and discuss the differences and tradeoffs involved.