Swift

The power of Compositional Layout

With iOS 13 Apple introduced a new and very powerful way of creating layouts for UICollectionView - UICollectionViewCompositionalLayout. The compositional layout uses three types of "building blocks": - item - describes

SwiftGen - Strongly typed assets in Xcode

I remember when I was in university, learning Android SDK and writing my first mobile app. All assets were bundled together in nifty R class. With this autogenerated assets class, developers could use

Creating your own file template in Xcode

A couple of years back I was working on a project structured with the MVVM pattern. We chose to structure our view models "Kickstarter style" [https://github.com/kickstarter/ios-oss/blob/

App security - prevent debugger attach

Our applications aggregate more and more private data that belong to users. We should make everything we can to make out users secure and safe. The first step to make the app more