Naming Requirements and Conventions

Model elements must be named using an alpha-numeric format. The naming of model elements can be done using combinations of “Aa-Zz” “0-9” and “_”, the underscore character. How content is named in Photoshop will be maintained when it is brought into Storyboard. When duplicate naming occurs, controls and files in the project image directory will include numeric values with the name, e.g., “image.png” “image1.png” image2.png”.

The importer will organize Photoshop content according to special naming conventions that have been assigned and place items within the Application Model accordingly.

name_layer

Photoshop group folders named with _layer at the end will import to Storyboard as a layer. Content within these group folders will import as project elements within that layer such as groups and controls. All Storyboard groups and controls can not exist outside of a Storyboard Layer.

Note

Within the Photoshop Layer View, content that is not placed within a parent group folder using the _layer naming convention will be assigned to a Storyboard layer that’s automatically generated. Storyboard Layers that are automatically generated will be assigned default names, “Layer” “Layer1” “Layer2” etc.

name_group

Photoshop group folders named with _group at the end will import to Storyboard as a group. Any content within these groups will import as controls within that group.

name_control

Photoshop groups folders named with _control at the end will import to Storyboard as a control. Content within these groups will import as text or image render extensions of that control.

name_up_and_name_down

Naming a PSD layer ending with _up directly above another layer with the same name ending with _down will create a control that behaves as a button. The control will be assigned events and actions and given an image variable that will work as an interactive button control upon import to Storyboard.

storyboard_actions_psd_import.png
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Article is closed for comments.