Subscribe And Get 4 FREE Power Swift Playgrounds With The Latest Swift 2.0 Syntax

Get Free Access Now

You'll learn: Error Handling with Swift 2.0, Protocol-Oriented Programming, Reference vs Value Types, and Higher Order Functions

iOS 9: How to Peek & Pop A Specific View Inside a UITableViewCell

Over the past few days, I’ve been hectically working on the try! Swift Conference app (now only 2.5 more weeks to show time 😱)! One of my stretch goal MVP features was implementing 3D Touch to Peek & Pop speaker and presentation information in the app...

NSStringFromClass in Swift is Here!

One of the first things I immediately noticed was missing from Swift was the NSStringFromClass replacement. I like to use the class name for my TableViewCell identifiers, and then just NSStringFromClass to dequeue the cells to avoid spelling issues. Now there is a Swift solution!!!

When To Use Mutating Functions in Swift Structs

One of the best things about Swift is that it has built-in features that allows for a lot of immutability in the architecture, making our code a lot cleaner and safer (highly recommend this talk on the subject if you haven’t seen it already!). But what should you do when you actually need some mutability?

Swift Magic: Public Getter, Private Setter

In my blog post on Constructor Injection, I had an example of a struct with a property that needed to be read externally but written only internally. I initially wrote the code like this...

Swift Programming Books

Someone emailed me recently asking me to compile a list of Swift Programming Books. While I have not read all of these books, they have come up for me a few times, and I know they're from good Swift developers. So here is the list...

A Swift Look at Protocols with Associated Types

When I first saw the term “associated types” on Twitter and around the inter-webs, I honestly just ignored it. It seemed very high level. So I’d like to write down my initial understanding of Protocols with Associated Types – mostly what they are and how to use them.

Updated: Protocol-Oriented MVVM in Swift 2.0

I’ve fallen in love with Protocol-Oriented Programming (POP), but of course, I’m new to it and still learning. One of my favorite use-cases for POP is with MVVM. I wrote about it back in August – read it if you’d like to understand the problem more. Since then, I have of course found an even better way of applying POP to MVVM!