For almost 4 years I am using MVVM for the development of iOS Apps. Managing the communication by a bunch of delegate methods and closures always felt like a bit of a hassle — but I did not know what I was missing.
At some point I had to develop an app in Xamarin — also using MVVM. But there was one suprise. Using Visual Studio and its bindings it was… nice.
But back to Xcode! Here the problem remains. But there is a cure! 🙏
Using it for Android development it is more or less state of the art. This was also the way I recognised there is a solution for the delegate and clousure mess. …
When I worked on
CoreData I was usually able to perform a lightweight migration to a new model version. But whenever it came to a more complex use case I struggled to find a solution.
That is why I wrote this piece.
But first, what’s the difference between a lightweight and a heavyweight migration?
Core Data can typically perform an automatic data migration, referred to as lightweight migration. Lightweight migration infers the migration from the differences between the source and the destination managed object models.
To me, this means easy use cases like adding and renaming variables or creating new relationships and objects. …
After reading an article on how to create a custom Android bottom-bar shape, I asked myself how to archive the same on iOS. Above is an image of the layout that I want to build.
First of all, we need to create a custom
UITabBar class and override the draw method. …