-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Strings, `AccessibilityIdentifiers`, `ImageIdentifiers`
In order to better organize certain items throughout the app, we have declared these struct types in the application. This way, there will be no errors using when typing image names, or accessibility identifiers.
Our strings live as extensions of String. However, they are logically organized according to their location in the app. For example, a string for the settings menu might be found at String.Settings.Homepage.OpeningScreenTitle
We are currently in the process of transferring our strings from the old unorganized system of strings to this better way. However, during that time, there are many strings that exist outside of this organizational order.
Similar to strings, we've organized our accessibility identifiers according to where they are located in the application.
We are currently in the process of converting accessibility identifiers from strings and moving them into their respective structs. While this process is ongoing, we will have a mix of both.
In order to more easily use images throughout the application, we're adding them, as we go, to the ImageIdentifier struct. This will allow us to more easily work with images.
If adding a new image asset, please be sure to add its string name to the struct.