Get More From Codable By Implementing a JSON Key Decoding Strategy
Aug 21, 2020, 7:27 PM
If you’re not using these, you’re probably writing more code than necessaryCodable is a protocol that was introduced in Swift 4 to make the serialization and deserialization of data into and out of Swift structures a breeze. This post...
How to Debounce UIButton Taps
Apr 1, 2020, 7:27 PM
Does your QA like to button bash? Here’s a solution.We’re all familiar with the situation — we’ve implemented the greatest new feature our app has ever seen. It gets to QA and the first thing they do is rapidly bash the button that pushes...
Accessible UICollectionViews With Dynamic Type and Self-Sizing Cells
Aug 19, 2019, 2:27 PM
Make your apps accessible by ensuring that UICollectionViews resize with changes in user text size preferenceDynamic Type is a feature that was introduced in iOS 7 allowing users to change the default font size used across iOS. It is...
Updating Users to the Latest Version of Your iOS App
Jul 18, 2019, 5:23 PM
The challenges of transitioning users to the latest app update where the need arisesWhen an emergency arises, it can be beneficial to have a mechanism in place to gently transition users to the latest app update. However, such a mechanism...
Animated Gradients on iOS
Feb 26, 2019, 8:53 AM
Sequencing animation between gradients with varying numbers of colors and more.I recently created a game called Heartbreaker as an Easter Egg for our app. The game had a gradiented background and whilst at the time of making the game there...
Signing Commits Using GPG on macOS
Feb 13, 2019, 6:50 AM
Protect Your Git Repositories From Commit Forgery Using SigningIf you are a developer using Git as part of your workflow on a regular basis then you’re probably familiar with the concept of using SSH keys to push commits to a remote...
Console Video Game-Style Cheat Codes for iOS Apps
Jan 27, 2019, 7:10 AM
How to implement D-pad style cheat codes in an iOS appRecently I was thinking about how I would go about implementing an Easter egg within an iOS app and how it could be found by the user. If you’re not familiar with the concept of an...
Detecting Internet Access on iOS 12+
Dec 26, 2018, 6:57 AM
iOS 12 introduced the Network framework including NWPathMonitor, a replacement for Reachability.I recently wrote an article on how iOS detects captive portals on connecting to new Wi-Fi networks before presenting a web view allowing the...
Solving the Captive Portal Problem on iOS
Nov 16, 2018, 2:32 PM
Making Internet connectivity detection more robust by detecting Wi-Fi networks without Internet access.In iOS development, the de facto means of detecting Internet connectivity has been to make use of Apple’s Reachability sample code....
Feature Flags, A/B Testing & MVT on iOS
Nov 3, 2018, 8:09 AM
Toggle features, phase feature roll outs and run A/B tests in your iOS apps without having to release a new version of your app or shelling out an unnecessary monthly fee for an online platform.There are a lot of platforms charging monthly...
Dynamic Type in iOS with TypographyKit
Sep 9, 2018, 5:33 PM
Dynamic Type is a feature that was introduced in iOS 7 allowing users to change the default font size used across iOS. It is intended predominantly to support visually impaired users but in practice there are many iOS users who simply...