Understanding Blocks in iOS Blocks are a powerful feature in iOS development that allow you to encapsulate a piece of code and pass it around as an object. They are…
Tying into native lifecycle events in Flutter
When embedding a Flutter engine in native, we sometimes need to tie into lifecycle events such as viewDidAppear or onResume. To do so, we can do the following in Flutter….
Create a framework with Swift Package Manager
Swift Package Manager or SPM is a fairly new addition to Xcode which allows you to add dependencies to your project easily. What if we want to create our own…
iOS Code Signing & Provisioning
First we create a CSR While creating CSR, the public/private key pair is generated under the hood. The public key is attached to your CSR The private key is kept…
Swift Property Wrappers
Property wrappers are a relatively new feature of Swift and can provide a lot of shortcuts. Say we want to store something in UserDefaults, or localize a string. We can…
How to Get Code Coverage Statistics in a Flutter Project
Code coverage can help you gauge the extent of your testing and give you greater visibility into how thoroughly you are testing you app. All you have to do is…
Measuring Code Execution Speed
Measuring code exec speed comes up once in a while, generally if you’re coding an algorithm or doing some sort of heavy processing. To be able to see how long…
Using Firebase in Flutter: Part 3 – Adding a Database
In Part 1 we set up Firebase and in Part 2 we added user registration and login. In this part we are going to see how to use a database….
Using Firebase in Flutter: Part 2 – User Registration and Login
In Part 1 (or if you want to skip, here is the link to part 3) we set up Firebase in our Flutter project. In this part we will use…
Using Firebase in Flutter: Part 1 – Setup
Skip to part 2 or part 3 Firebase is a solution owned by google, which provides a ton of out of the box solutions, such as authentication, storage and analytics….