What are the recommended practices for saving the content of Local Notifications?

How can one save the local notification content (i.e if the content.body / content.title of the UNMutableNotificationContent which is being picked via the randomElement() method from a dictionary or JSON file) ?

So far I have managed to save them as Realm objects to be reloaded onto another screen, but it causes threading issues and overall doesn't seem like the best method. Is there a more Swifty way?

Terms of Service

Privacy Policy

Cookie Policy