Ben Terhechte — journal
--rss
$ grep -l "#all" ~/terhechte/journal/*.md

Posts tagged #all

posts 13 years 5 tag all
[ 2018 ]
01 · posts
2018-05-03

Expanding Swift's Reach

How can we as a community help expanding the reach of Swift

[ 2017 ]
02 · posts
2017-10-08

Taming SourceKitService for Less Xcode Memory Consumption

Taming SourceKitService for less Xcode memory consumption

2017-09-30

Value Types for Simple Difference Detection

Utilize value types to quickly determine a differences between two sets of data

[ 2016 ]
04 · posts
2016-07-15

Data in Swift 3 parsing a Doom WAD File

Swift 3 replaces NSData with the Data value type. Implement a Doom Wad file parser with the new Data type to understand the differences.

2016-04-23

Raw value initializers for enums with associated types

Once you add associated types to an enum the task of creating instances quickly becomes very repetitive. See how a simple trick can greatly simplify this

2016-04-14

Force optionals in multi-unwrapped 'guard let' or 'if let'

Mixing optional and non-optional functions in a guard is impossible and requires breaking up the lines. Here's a neat solution on how to circumvent this.

2016-03-29

Three tips for concise Swift using the Guard statement

Three quick examples for how you can use guard to write shorter and simpler code

[ 2015 ]
05 · posts
2015-12-08

Swift Package Manager: Create and Use a X11 package on Linux

A tutorial on how to create a Swift Package for X11 on Linux and use it to write a simple X11 app

2015-09-30

Getting your iPhone 6s Chip Foundry from Swift

This quickly explains how you use private apis from Swift in order to figure out the manufacturer of your fancy new iPhone 6S CPU

2015-08-25

Optional throw via try? in Swift 2

Swift 2.0 includes a new way of handling exceptions via the try? keyword. This is a quick post to explain the basics, and why this is cool.

2015-06-19

Using try / catch in Swift with asynchronous closures

Swift's `try` / `catch` error handling is great. However, you can't use it in an async context. This article briefly explains which options you have if you intend to use Error Handling asynchronously

2015-06-17

Generic method overloading by protocol in Swift

See how you can even overload methods in a generic manner by using protocols

[ 2014 ]
01 · posts
2014-06-08

Using @autoclosure to write a Swift syntax extension

Swift's @autoclosure allows to extend the Swift syntax in fantastic ways. Observe how we re-implement the `cond` function from Lisp