How to make an iterable Swift collection type

Sometimes it’s useful to implement custom collection types. For example, you may want to keep the order of the iteration of the objects in the collection hidden from the consumer. Here’s how you can make an iterable Swift collection type with SequenceType.

Continue reading How to make an iterable Swift collection type How to make an iterable Swift collection type

Turn a WordPress blog into a WordPress homepage

As a business you usually want to greet your visitors with a proper front page, and not send them straight into your blog. This little tutorial will show you how, and it will even work if you want to skip the blog thing all together.

From a blog front page (left) to a proper homepage (right).

Continue reading Turn a WordPress blog into a WordPress homepage Turn a WordPress blog into a WordPress homepage

Changing Your WordPress Menu

The top three questions I get from friends, family and clients with their own WordPress (WP) blog/site are:

  • Can you help me add something to the menu?
  • Can you help me remove something from the menu?
  • Can you help me change the order of the stuff in my menu?

Of course I could help them! But I’ll rather teach them and you 😀

Continue reading Changing Your WordPress Menu Changing Your WordPress Menu

Elegant Data Binding in Objective-C with ReactiveCocoa

If you’re developing apps for iOS then you should be (painfully) familiar with the Key-Value Observing (KVO) pattern. Says Chief NSHipster Matt Thompson about KVO:

Ask anyone who’s been around the NSBlock a few times: Key-Value Observing has the worst API in all of Cocoa. It’s awkward, verbose, and confusing. And worst of all, its terrible API belies one of the most compelling features of the framework.

Unfortunately, KVO seems to be the best way to natively achieve data binding on the iOS platform.

Continue reading Elegant Data Binding in Objective-C with ReactiveCocoa Elegant Data Binding in Objective-C with ReactiveCocoa

How to handle timezones in Parse.com

Unfortunately Parse is closing down in 2017, but we have found a great and actually local (to us) service: AppStax.

Update: It seems the tutorial might not be valid any more as there are new versions of Parse and Moment. I do not have time to update this turorial as of now (March 2015).

Ever needed to handle dates and time zones in Parse?

(Jump straight to the full Gist example if you want to skip the explanation.)

moment

Continue reading How to handle timezones in Parse.com How to handle timezones in Parse.com

Unfortunately Parse is closing down in 2017, but we have found a great and actually local (to us) service: AppStax.

How to Build Your Startup Technology Stack Real Fast Without Investing Any Money.

Unfortunately Parse is closing down in 2017, but we have found a great and actually local (to us) service: AppStax.

We built our first shippable product #lillygram in six weeks. This was possible in part because we made some smart choices about our technology stack. Here are some of them.

Parse dressed i white.

Do you want to save lots of money and hundreds of hours of coding while building your product?

Continue reading How to Build Your Startup Technology Stack Real Fast Without Investing Any Money. How to Build Your Startup Technology Stack Real Fast Without Investing Any Money.

Unfortunately Parse is closing down in 2017, but we have found a great and actually local (to us) service: AppStax.