Dan Cutting

11 Flips | 1 Magazine | @DanCutting | Hi, I'm Dan Cutting. I'm a software developer mainly working with iOS, but interested in everything up and down the stack. I love programming and improving my technique.

MirrorType

Reflection in Swift is a limited affair, providing read-only access to a subset of type metadata. While far from the rich array of run-time hackery …

Introducing Argo 1.0: More Power, More Fun

Argo 1.0 is out! We wanted to slim down Argo while maintaining usability and give it more power, so we sifted through every line and asked “Is this …

Functional View Controllers: An Experiment

We tightly couple our view controllers to data models, networking, and the next view controller. Are there ways to avoid this? In this talk, Chris …

Swift: Six Killer Features

There’s a lot to love about Swift. Here are 6 of my faves.1. StrideSwift’s <b>stride</b> function returns a sequence of values of any “strideable” type. …

Swiftly Typing — Error Handling

There was some talk on Twitter recently about the best way to return errors in Swift, such as in this discussion started by Schwa (some great …

Functional Programming in Swift

Thoughts on Functional Programming in Swift<p>Like most of you, I have to use Objective-C at my day job. I could only craft my Swift skills at night. …

RxSwift

• RxSwift 3.x / Swift 3.x can be found in <b>rxswift-3.0</b> branch.<p>Rx is a generic abstraction of computation expressed through Observable<Element> …

Towards a more functional Swift

Swift came into the world as an interesting chimera; fully formed, with a list of interesting and innovative language features not seen before in the …

Programming

The power of Swift enums

Enumerations, or <i>enums</i>, are a symbolic way to represent a “one of” type. In this post we’ll get a taste of the great flexibility that Swift enums …

Back to the Futures

The asynchronous code we're used to writing in Objective-C has a lot of problems. It's not great for handling errors, and it doesn't scale well. In …