Configure Text Labels
Simone Martorelli edited this page Feb 8, 2021
·
2 revisions
Text labels are abstracted to stored properties in Constants swift files with file names equated to purpose or where the values are used.
For the purposes of this guide, I will be using dot notation to equate to the traversing of a structure.
For example, if we wanted to access / reference the message string value associated with the Cancel Alert sheet, we would use AlertText.RegistrationCancelAlert.message
. Changing the text associated with this variable found in AlertConstants.swift will be applied the the controller associated with the alert: