Perks were previously added with a cooldown time. Now, when the Perk is ready, a local notification will be fired. Additionally, the user will have an action to use the perk directly from the notification.
Chapters:
0:00 Adding Actions to Local Notifications
0:20 NotificationService
3:26 UsePerk NotificationCategory
4:37 Schedule Perk Notification UseCase
6:06 Responding to Actions on Notifications
8:34 Syncing with the Model
Source code: https://github.com/codingWithTom/Cast...
Castles - UIKit playlist: • Castles - SwiftUI