RSSAmplifier

Blog

ko(9)

Articles on (mostly) iOS development, by Nick Randall

ko9.orgRSS feed ↗17 posts

Latest posts

Parsing CSV natively in Swift

Load and process CSV tables in Swift using only bundled libraries.

Runtime in Swift: Exposing Unavailable Classes

Some lessons learned while building a Swift API for the ObjC runtime functions, part 3.

Runtime in Swift: Iterator Performance

Some lessons learned while building a Swift API for the ObjC runtime functions, part 2.

Runtime in Swift: String Lifetimes

Some lessons learned while building a Swift API for the ObjC runtime functions, part 1.

Simple Web Server in Swift

How to build a tiny HTTP server in Swift.

20 Years of Gmail

A look back at the launch of Gmail and the peak of Google.

Performance of Automatic Equality Checks

Testing the speed of automated equality in both Objective-C and Swift.

Ivars and Automatic Object Equality

Inspecting instance variables using the Objective-C runtime for automatic object equality and hashing.

Tech Talk on KVO

A tech talk from the archives, extolling the virtues of Key-Value Observing.

EV Touring in Europe

Lessons learned from a few road trips in Europe with an electric car.

Dictionary-Backed Objects

An Objective-C class with dynamic storage. Describes how to create method implementations at runtime, using functions such as resolveInstanceMethod and class_addMethod.

Parsing JSON Safely

How to ensure that a malformed network payload can never crash your app.

State Machines in Swift

Implementing a trivial state machine in Swift.

Implementing Key-Value Coding

Using the Objective-C runtime to read and write property values dynamically.

Type Encodings Explained

The @encode directive and how Objective-C encodes type details.

Inspecting Objective-C Properties

Using the Objective-C runtime to inspect properties of a class, and creating a convenience wrapper to work with them.

The Objective-C Runtime in Practice

An introduction to the practical uses of the Objective-C runtime.