Awaiting WebSockets in SwiftUIWebSockets have become the standard network protocol for chat and event-driven based applications given their ability to provide a persistent communication channel between clients and a server. Rather than poll a server for results at set intervals, ...6 min readยทobscuredpixels.comNov 10, 2021
Async Animations in SwiftUISwiftUI comes with some convenient animation capabilities out of the box. Using the withAnimation function, any interaction that triggers a state update will be animated. This allows us to add some great UI experiences to our apps with minimal code. ...7 min readยทobscuredpixels.comJun 22, 2021
Combining Core Data with GenericsIf you've caught the Combine bug, chances are you are beginning to leverage the framework for all sorts of asynchronous logic in your code base. One such area that I've found myself interacting with a lot lately in this regard is Core Data. When Appl...6 min readยทobscuredpixels.comJun 2, 2021
Wrapping Dependencies in SwiftUIDependency injection (DI) is a requirement when it comes to putting together a modular and maintainable code base. But similar to other concepts, DI can end up being a challenge when managing dependencies for larger projects often resulting in massiv...5 min readยทobscuredpixels.comMay 20, 2021
The Core Data CloudKit ParadoxWhat came first? the chicken or the egg? The ancient paradox that describes the problem of determining cause and effect. Maybe the answer is both? This oddly resonates with a common problem when it comes to projects that utilize the NSPersistentCloud...5 min readยทobscuredpixels.comMay 12, 2021