Fetching articles...

Darkness is the future of iOS

Dark mode is coming to iOS according to recent rumors, and since it exists on tvOS they're quite believable. Perhaps as soon February which has gotten big updates before.

Regular developers might have some problem with this, if they've built their apps with nib-files or storyboards. Doing it programmatically however, means changing a few values. 

It's like when the bigger phones were released, if you had a lot of hard coded view sizes (values that don't seem to originate from anything, "magic numbers") - you were in for a lot of work. Experienced programmers never use magic numbers for anything. They know circumstances will always change and, in addition, avoiding magic numbers gives you cleaner, more readable code. 

Now we are in a similar situation again. Are your views hard coded to be bright/light? Or have you been using consistent variables for your colors all through your app? Now that decision will pay off. 

Of course, to conclude this touting-my-own-horn-post, if you are using something like AutoStandards, darkness comes for free.

About

Hello! How nice of you stopping by! ❤️

My name is Olof Andersson-Thorén, I am an iOS/Backend/Web/Android developer from Sweden.

I really enjoy creating stuff, and that is the reason why I am doing this. I started working full-time on building apps in 2009.

At the moment I work as a consultant for companies that need help with their apps. During off-hours I build indie-apps for fun. My main app is Feeds, a glorified news and RSS-reader that keeps track of the web for you. I have published more than 75 apps on the appstore/Google play store though most of them are not active today. Aggressive Development has published 15 apps under its own name and many more for other companies.

Please feel free to say hello or give feedback, etc: olof@aggressive.se.