I have a variable for storing a username like this:
I have an interpolated String using this variable like this:
This String is inside a codable object, which is persisted with Core Data.
When the codable object is loaded after a while and the username changed, will it display the new username in the interpolated String or will the string hold the initial value when persisted?
Code Block var username = "Albert"
I have an interpolated String using this variable like this:
Code Block let string = "Hey, \(username), how are you doing today?"
This String is inside a codable object, which is persisted with Core Data.
When the codable object is loaded after a while and the username changed, will it display the new username in the interpolated String or will the string hold the initial value when persisted?