Ole Begemann

Hi, I’m Ole. I’m a developer from Berlin and co-author of Advanced Swift. Here, I mainly write about Swift and app development on Apple platforms. More about me.

Recent Articles

  1. An iOS alert view with a text field and a “smart” OK button

    I wrote a UIAlertController extension that allows you to perform validation of the text the user has entered while the alert is on screen. It’s nothing earth-shattering, but what I like about it is that the behavior is entirely encapsulated in the initializer. Clients only deal with the same UIAlertController object they’re used to. More >

    August 13, 2018

  2. Migrating an Objective-C class to Swift: a piecemeal approach

    A piecemeal migration of an existing Objective-C class to Swift often means adding a Swift extension to the class. I describe a technique how you can provide stored properties to the the Swift extension, even if those properties aren’t compatible with Objective-C. More >

    July 31, 2018