Distribute your code as XCFramework

Set up the project To set up your project for creating an XCFramework, ensure your Xcode project has a scheme that builds only the framework target and its dependencies. Configure...

Xcode deinit breakpoint for UIViewController

Xcode deinit breakpoint for UIViewController This breakpoint provides an easy way to track view controller deinitialization (deallocation). This can help finding memory leaks caused by retain cycles preventing view controllers...

Test Universal Links Locally by host server locally

Definition Opening an app from an URL is such a powerful iOS feature. Its drives users to your app, and can create shortcuts to specific features. This week, we’ll dive...

Tech Interview Cheat Sheet

This list is meant to be both a quick guide and reference for further research into these topics. It’s basically a summary of that comp sci course you never took...

Fundamentals of Swift Collections

The coding interview process is notoriously difficult, and the preparation process isn’t any easier. Developers often spend months preparing for their coding interviews. At most big tech companies, coding problems...

Repository Pattern in Swift

Background All apps developed require data of some description. This data is stored somewhere, could be on the device itself, in a remote database/service or a combination. Let’s take a...

How to scan and generate a QR Code

QR Code QR codes are a type of barcode that can store a lot of information in a small space. They can be scanned by a smartphone camera, and the...

Why App Architecture is Important

You wouldn’t build a house on quicksand. Would you build an app without architecture? In this tutorial, we’ll discuss the importance of app architecture and how you can get started...

Scene Delegate vs AppDelegate

Earlier to Xcode 11/iOS 13, when you create a new project, some default files like AppDelegate.swift, ViewController.swift and a Main.storyboard and few other files were created but from Xcode 11...

Advanced Dependency Injection

Dependency injection is a broad technique which can be implemented differently. In this article let’s learn the core principles of dependency injection and implement commonly used patterns such as dependency...