Asset Catalog Help (二)---Creating an Asset Catalog

本文介绍如何通过创建AssetCatalog来简化iOS或OSX应用程序中图片的管理,包括创建步骤和组织建议,适用于希望提高资源管理效率的开发者。

Creating an Asset Catalog

Create an asset catalog to simplify management of your app’s images.

创建一个asset catalog来简化管理应用程序图片。 
  1. Choose File > New > File.

    选择File > New > File.

  2. Under iOS or OS X, select Resource.

    在iOS 或 OS X中选择 Resource.

  3. Select Asset Catalog, and click Next.

    选择 Asset Catalog 并点击Next.

    ../Art/XC_AC_H_create_asset_catalog_1.shot/Resources/shot_2x.png
  4. Name the asset catalog, specify its location, and select the targets.

    给asset catalog命名,指定存储位置并选择targets。

    ../Art/XC_AC_H_create_asset_catalog_2.shot/Resources/shot_2x.png
  5. Click Create.

    点击Create。

For more control over the organization of your app’s images, create multiple asset catalogs. For example, you can create separate asset catalogs for images in different functional areas of your app.

要想对应用程序中所有图片进行组织管理,你可以创建多个asset catalogs。比如,你可以给应用程序中不同功能的图片创建不同的asset catalog。

转载于:https://www.cnblogs.com/patientAndPersist/p/4428138.html

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值