Categories
iOS Development

How to sort an array of objects by date property

You might know the very handy sort(by:) method in Swift that you can use to sort any kind of array. If not, see this as some kind of friendly introduction to you. Read carefully and I will teach you now … Read the rest

Categories
Wordpress

How to fix not updating wordpress posts caused by caching plugins

Recently I had a problem with my wordpress blog I did not remark for some time. Whenever I updated new posts, the where only showing on the homepage when I was logged in. For the normal user who is not … Read the rest

Categories
iOS Development

How to get your first ever app approved in Apple’s App Store

While publishing FlippyApp (https://mic.st/blog/portfolio/) to the App Store (https://apps.apple.com/us/app/flippylearn/id1479486387) I learnt a lot about how to deal with the intransparent review process of the Apple App Store.

The two most important:

  • The review process is very
Read the rest
Categories
iOS Development

How to easily animate updates of a tableview in Swift

Currently I work on a side project that uses a lot of UITableViews for all the different settings within the app. Whenever you change the the datasource of your tableview you need to update it. Here I want to show … Read the rest

Categories
Electronics Raspberry Pi

Connect AM2320 temperature and humidity sensor to Raspberry Pi

This year I wanted to grow a lot of vegetables in the garden behind our apartment. The last few years I already grewed tomatoes and cucumber on my balcony. Of course a garden is so much better to grow stuff … Read the rest

Categories
iOS Development

Draw graphs and charts in Swift easily with CareKit

Did you ever want to use Swift to draw simple graphs and charts in your iOS app without using some 3rd party library? Also you did not want to reinvent the wheel with CoreGraphics? I thought that was not possible … Read the rest

Categories
Raspberry Pi

Minimal setup of Raspberry Pi Zero W with ssh over wifi connection.

Update July, 2023:

Nowadays, I would recommend using the “Raspberryย Piย Imager”. You can download it here: https://www.raspberrypi.com/software/. It’s much faster than doing all the manual work. Just make sure that you select as OS the minimal version without … Read the rest

Categories
iOS Development

Fix crashing when opening projects in XCode 11.3

Today I had some problems with a project that I wanted to continue working on today. Yesterday everything went fine but today XCode crashed everytime I tried to open it ๐Ÿ™ˆ

Luckily there is a fix, that I found in … Read the rest

Categories
iOS Development

How to play sounds when Unit Tests in XCode finish with success or failure

Currently I work on a project that has a lot of tests that take some time to finish. Usually I switch to working on something else while the tests are running in the background. Sometimes I deep dive into the … Read the rest

Categories
iOS Development

Customizing your app’s navigation bar titles buttons and background

The default navigation bar you get when implementing a UINavigationController does it’s job but often you want to customize it because it just does not look so fancy.

To customize the background of your UINavigationBar you set its backgroundImage property … Read the rest