Categories
iOS Development

How to animate UIBezierPath using CABasicAnimation

Currently, I am working on an app that features a table view with custom cells representing single items or grouped items. You can expand the group cells (to see their content) by selecting them. There are multiple ways to … Read the rest

Categories
iOS Development

How to use the RelativeDateTimeFormatter in Swift

Working with dates in Swift is a thing I remembered to struggle for a long time as a Junior developer. However, you should get used to objects that have date properties. E.g. you can sort stuff (e.g. see https://mic.st/blog/how-to-sort-an-array-of-objects-by-date-property/) … Read the rest

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.

Download Raspbian Lite Image:
https://www.raspberrypi.org/downloads/raspbian/

Find your SD-card with:
diskutil list

Unmount SD-card with:
diskutil unmountDisk /dev/diskX (X is the number of your SD-card you found out in the step before)

Copy the image to your SD-card with:
sudo 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