Disclaimer: This post is purely experimental based on an idea I had recently, I’m personally not using this in production right now.

Laziness in Swift can be a very powerful tool, but it hasn’t reached its full potential yet. Recently, I came across a situation where I wanted to write something likes this:

This is pseudo code and won’t compile, but it illustrates my itention

In other words: I wanted to pass the closure for creating a lazy property to the initializer of my class and make it a constant property. This doesn’t work because of two reasons:

  • Properties are…

Image for post
Image for post

On March 16th 2012 at 01:39 AM, Short Menu 1.0 first saw the light of the world. Today, more than five years later, Short Menu took a major leap forward. Version 3.0 brings the most drastic redesign yet, but at the same time not much changed for existing users in terms of using the app.

Hold on a second, that’s not entirely true. For some users, 3.0 changes a lot. Sure — if a user of 1.0 went straight to 3.0, the change would certainly be massive, but that‘s not what I‘m talking about here. Version 3.0 is the first…

Image for post
Image for post

Apple introduced Search Ads last fall, but only allowed creating campaigns for the US App Store at first. In April they expanded the program and now allow you to run ads in the UK, Australia and New Zealand. While the US App Store is undeniably the largest, I still wanted to see how it compares to the newly offered storefronts and more importantly, how they differentiate from each other.

Before introducing you to my little experiment, you should know that I don’t work in marketing and have no business in giving you marketing advice. I’ll simply present my experiences. …

Most iOS developers have probably dealt with URL schemes and URL routing at some point during their career. This topic became even more important after the introduction of deep linking in iOS 9. Today we’re going to take a look at how this works on the Mac and create a small URL routing library.

The iOS-way

If you’re familiar with URL schemes on iOS, skip to the next section. If you’re not, this is a brief overview of how it works:

You register a unique URL scheme for your app using the Info.plist file. Let’s call it myapp. If another application or…

Image for post
Image for post

Short Menu started out as a very simple idea: you copy a long URL, open Short Menu, which reads the URL from your clipboard, shortens it and finally copies the short URL. Even with all the design changes, new features and additional integrations which formed the app Short Menu is today, it still holds true to this basic concept.

The first version of Short Menu for iOS was published in 2013, one year after its Mac companion. It underwent 3 major redesigns, the last one after the introduction of iOS 7. With iOS 10 Apple started changing their flat design…

Florian Schliep

iOS & macOS Developer — http://flo.fyi

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store