Frustrated by missing features in SwiftUI? Using UIViewRepresentable to wrap...
When the SwiftUI announcement came out at WWDC 2019, you were buzzing about the new framework. Finally, a new way to build our interfaces. OutRead on »Frustrated by missing features in SwiftUI? Using...
View ArticleOrder your Core Data entities the right way for maximum speed
One of the earliest things you learn about Core Data is that it doesn’t support ordered entities out of the box. Sometimes you can haveRead on »Order your Core Data entities the right way for maximum...
View ArticleCatch SwiftUI model updates from bad threads before they crash your app
It hasn’t yet been reflected in the official SwiftUI documentation (yay, betas), but the WWDC presentations and further guidance from Apple engineers have made itRead on »Catch SwiftUI model updates...
View Article4 things you can do *right now* to be ready for SwiftUI and Combine
Many of us were excited about all the new frameworks at WWDC: SwiftUI and Combine being the biggest ones. You were probably all ready toRead on »4 things you can do *right now* to be ready for SwiftUI...
View ArticleKeep control of your modal presentation in iOS 13
You hear about the large features in new major version iOS updates, but it’s often the small changes that cause you headaches: the places whereRead on »Keep control of your modal presentation in iOS 13
View ArticleI create a batch of CloudKit records, but when I try to sort them by date,...
If your app stores user data in a database, there are a number of occasions where you may need to make changes to multiple objectsRead on »I create a batch of CloudKit records, but when I try to sort...
View ArticleRestoring your sanity reading JSON into Codables
Integrating your app with APIs means you’re going to be dealing with parsing JSON in data objects you can use nicely. iOS provides the CodableRead on »Restoring your sanity reading JSON into Codables
View ArticleSave that sink! A simple solution to a common Combine problem
So you’re starting to work with Combine, because Apple is finally jumping on the reactive programming bandwagon (yay!). So you build your first Combine workflow,Read on »Save that sink! A simple...
View ArticleBuilding a Caching Custom Combine Operator: The Chain
Combine provides a wide variety of Publishers that can be combined to fulfill a wide variety of use cases. But as with any framework, youRead on »Building a Caching Custom Combine Operator: The Chain
View ArticleBuilding a Caching Custom Combine Operator #2: The .cache() Method
In part 1, we started building our custom combine operator by starting with the foundation: building the Combine chain that implemented our caching operator. InRead on »Building a Caching Custom...
View Article