I will show you how you can store data permanently in your IOS application using the UserDefaults which is an interface to the user's defaults database, where you can store key-value pairs persistently across launches of your app.
Hope you like it.
Description to the documentation:
https://developer.apple.com/documentation/foundation/userdefaults
My Twitter:
https://twitter.com/kristofer17