The Correct Asset Naming Every iOS Developer Should Use

Jerry PM
4 min readOct 27, 2024

Optimize Your iOS Development with Clear Naming Strategies

Chnage naming Color in my project

Creating a well-organized asset structure is essential for a scalable and maintainable iOS project. In Xcode, where managing icons and colors is an integral part of designing user interfaces, adopting clear and consistent naming conventions can greatly improve efficiency and readability. Here are best practices for naming icons and colors in an iOS project.

This is an example of a project I recently updated. The first changes I made were to the naming of icons like ‘Tabbar’ and ‘Other.’ Additionally, I added a folder named ‘Navigation’.

Icons play a significant role in guiding users through an app, and a well-structured naming system can save time and prevent confusion. Below are some tips and examples for naming icons effectively.

A. Use Descriptive and Contextual Names

Icons should be named according to their function or location within the app. For example, icons used in the Tab Bar should be named with tabbar_ as a prefix, followed by the screen name and its state (e.g., selected or unselected). This structure makes it easy to locate icons and understand their purpose at a glance.

B. Include States or Modes if Necessary

--

--

Responses (3)