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…
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…
The string, split join trick in Swift
Sometimes you need to split a string by some delimiter and recompose it with another. Or maybe you need to filter a string. It can be done easily like this: