其它命名规范


图片命名

图片文件命名采用type_location_identifier_state规则,只需要@2x@3x图片。

缩略前缀可用如下例子

  • icon
  • btn
  • bg
  • line
  • logo
  • pic
  • img

参考:

UIImage *settingIcon = [UIImage imageNamed:@"icon_common_setting"];

图片目录中被用于类似目的的图片应归入各自的组中。

results matching ""

    No results matching ""