Feb 13, 2024
Write Less Convoluted ViewModels with Subscripts
The Swift programming language provides many convenient language features to access data immediately—for instance, the built-in subscripts for arrays and dictionaries. But what about custom Swift objects? Today, you'll learn how to access any property without relying on dot notation.
Read full post →Feb 13, 2024
Generics Beyond Ints and Strings in Swift
In the Swift programming language, certain concepts may appear daunting at first but hold immense power once understood. Generics is one of those concepts. Today, we will simplify their purpose and explore the elegance and versatility of generics.
Read full post →Jan 27, 2024
Visualize Reversing Linked Lists in Swift Differently
In the realm of algorithmic problem-solving, one challenge that often perplexes developers is the task of reversing a linked list. Today, we'll aim to unravel the intricacies of this problem and equip you with the insights needed to master this common algorithm.
Read full post →Mar 23, 2023
How to Make Technical Concepts Easier to Recall
Recalling abstract concepts can feel hopelessly challenging unless you have a framework to turn the abstract into something tangible. I overcome this challenge by using intellectual construct to identify situations that are familiar to me.
Read full post →Feb 28, 2023
Why You Should Use Async/Await Over Closures Moving Forward
Since Apple released Async/await in 2021, it has made writing asynchronous code amazingly pleasant for iOS developers. Writing straightline code rather than nested closures allows us to better express our intent to others.
Read full post →Aug 31, 2022
The Decorator Pattern Saved the Day
I recently encountered a challenging problem at work when given the task of integrating into our iOS codebase a new authentication service called Auth0. It's crucial to think; use UML diagrams to help you think; learn from others.
Read full post →May 30, 2022
Make Learning your Secret Weapon to a Stress-free Life
Learning about anything, especially anything nontrivial, will greatly improve your mental state. Learning how to learn makes learning even more enjoyable. Adopt these two ideas into your daily habits, and I guarantee you a boost in happiness and morale.
Read full post →Feb 28, 2022
Why iOS Developers Overlook the Usefulness of Unowned
Most iOS Developers I've talked to about unowned variables disregard its specific usefulness. If you spend some time digging into Swift's own documentation and doing your own hands-on tinkering, you'll quickly notice what makes unowned important.
Read full post →