Core Data got better and better over the years with improved APIs that make it easier to work with. The Apple framework allows you to save your application’s permanent data for offline use, to provide undo functionality or to simply cache data for better performance. After implementing the basics into your app like using a …
notifications
SwiftLee 2018 in review: Top Swift Development blog posts
With 2019 coming closer it’s time to review SwiftLee in 2018 and list the top swift development blog posts of this year. The best thing about this all is that I can say that I’ve reached thousands of fellow Swift developers and possibly inspired or taught them with something they didn’t know yet. A weekly …
Typed notifications using custom extensions
The Swift API contains a lot of notifications sent out by the system like NSManagedObjectContextObjectsDidChange in Core Data or the AppDelegate events like UIApplicationDidBecomeActive. Some of these notifications contain rich data in their user info dictionary. Reading the user info data using typed notifications can clean up your code, especially if you use these notifications …