Customizing Image Sets for Devices Add images to a set that are customized for display on the devices supported by your app. 应用程序支持把图片加入一个自定义图片集,用来在不同设备商显示.  In the set list, select an image set. 在图片集列表中,选择一个图片集. Open the utilities area for the works…
Customizing Image Sets for Size Classes Add images to a set that are customized for display in different size classes supported by your app. 应用程序也支持把图片存入一个自定义集合,用来在不同的尺寸类中显示. In the set list, select an image set. 在集合列表(set list)中,选择一个图片集. Open the ut…
Adding Image Sets Organize versions of your images in image sets, which you can add to an asset catalog. 你可以用图片集组织管理不同版本的图片 ,图片集可以放入一个asset catalog. In the project navigator, select an asset catalog. 在项目导航区(project navigator)中,选择一个asset catalog. Sele…
Removing Images and Sets Optimize the size of an asset catalog by removing unused images or sets. 通过删除不用的图片或图片集优化一个asset catalog的大小. Do one of the following: 可以使用以下方法: Remove an image from its set by Control-clicking the image and choosing Remove Sel…
Specifying a Resizable Area of an Image Use the Xcode Slicing feature to specify the dimensions of a resizable center area of the image and to optionally specify end caps, which are areas of the image that should not be filled by the resizable area.…
Changing Image Set Names Use the Attributes inspector to edit a set’s name. 使用属性检查器(Attributes inspector)可以编辑一个图片集的名字.  In the set list, select a set. 在集合列表,选择一个图片集. Open the utilities area for the workspace window by clicking the Show Utilities butt…
About Asset Catalogs Use asset catalogs to simplify management of images that are used by your app as part of its user interface. 使用asset catalogs可以简化应用程序中需要使用图片的管理,把它们作为用户界面的一部分. An asset catalog can include: 一个asset catalog可以包括以下内容: Image sets: Use…
Creating an Asset Catalog Create an asset catalog to simplify management of your app’s images. 创建一个asset catalog来简化管理应用程序图片.  Choose File > New > File. 选择File > New > File. Under iOS or OS X, select Resource. 在iOS 或 OS X中选择 Resource. Select As…
Adding OS X Icons Simplify image management by storing your OS X icons in an asset catalog. 把OS X图标存进一个asset catalog里可以简化图片管理.  In the project navigator, select an asset catalog. 在项目导航区,选择一个asset catalog. Choose Editor > New OS X Icon. 选择Editor > Ne…
Migrating an iOS App Icon Set or Launch Image Set Simplify image management by moving existing app icons and launch images into an asset catalog. When you store app icons and launch images in an asset catalog, Xcode automatically creates the required…
Adding an iOS App Icon Set or Launch Image Set Organize different resolutions of your app icons and launch images using image sets. 使用图片集(image set)组织管理应用程序中不同分辨率的图标和启动图片.  Select an asset catalog. 选择一个asset catalog. Choose Editor > New App Icon. 选择E…
About Asset Catalogs Use asset catalogs to simplify management of images that are used by your app as part of its user interface. 使用asset catalogs可以简化应用程序中需要使用图片的管理,把它们作为用户界面的一部分. An asset catalog can include: 一个asset catalog可以包括以下内容: Image sets: Use…
本文由CocoaChina译者 @唧唧歪歪 翻译,作者:Hector Matos 原文:4 XCODE ASSET CATALOG SECRETS YOU NEED TO KNOW 恶梦 想象你正在干活,你的上级要求你在工程中加入一些图片.你找到团队中的设计师(如果你们有一个的话),鼓起勇气,问他要这些图片.不过,通常他都会忙得根本没时间帮你.因为他要做的活儿比你还多.说实话,你到底见过一个设计师有多少活儿要做吗?!简直多到令人发指啊!所以你最不想做的就是成为那个再给他加活儿的人了.特别是那些活…
Asset Catalog Creator Free  生成程序内图标的软件…
1.向appstore上传应用的时候,报了这样一个错误 ERROR ITMS-90717: "Invalid App Store Icon. The App Store Icon in the asset catalog in 'xxx.app' can't be transparent nor contain an alpha channel."意思是说在你应用中放置的AppIcon中图片不能是透明的图片,也不能是含有alpha的图片.简单来说就是要把图片的透明度去掉: 2.步骤:…
在使用xcode6建的项目时,有时在ios7模拟器下会出现一下情况 导航栏上方和tabbar下方会有黑边 并且会有一下警告: Applications using Launch Screen Files and targetting iOS 7.1 and earlier need to also include a Launch Image in an Asset Catalog. 解决方案: 1.选择launch images  use asset catalog 2.点击migrate 3…
刚升级Xcode 8, 幺蛾子又出现了.提交的时候出了这个问题. BTW,感谢google.以下为解决方案:‘ 在 Xcode 8 中,当你资源文件中[含有16位图]或者[图片显示模式γ值为'P3']且iOS targets设定为iOS 9.3以下就会出现这个问题. 如果你的app需要支持广色域显示的话,那你必须得把target设置成iOS 9.3+,相反,如果你的app不需要支持广色域且你想兼容 iOS 9.3 之前的项目,你就得把所有的16位的或者显示模式为'P3'图片全都替换成8位模式的S…
执行命令:rm -rf /Users/<用户名>/Library/Developer/Xcode/DerivedData 然后重新编译项目即可.…
Configuring Your Xcode Project for Distribution You can edit your project settings anytime, but some settings are necessary during development. Others are recommended when you distribute your app for beta testing and required when you submit your app…
文/余书懿(简书作者)原文链接:http://www.jianshu.com/p/7aa06ce22a7b著作权归作者所有,转载请联系作者获得授权,并标注“简书作者”. 引言 Asset Catalog是 iOS7 新出的图片资源管理方案,将分散在项目中大大小小的图片资源进行统一存放和集中管理.如果你的项目已经最低支持 iOS7,那么不要犹豫,开始使用它吧! 它主要包含以下几个功能特性 设定App图标 设定App启动图 图片资源管理 PDF图片 Slicing Size Classes 如何创建…
原文:http://schlu.org/2013/10/01/Xcode-Asset-Catalogs.html 基础知识 在今年的WWDC大会上苹果介绍了Asset Catalogs.Asset Catalogs是用来减少工程导航上的混乱,让图片使用情况变得更为有条理.它的方式是,你不必将所有图片都列出来,取而代之,你可以在工程中创建一个或者多个asset catalog,你可以把图片拖拽到一个合适的位置来进行管理. Asset Catalog除了可以管理app icon以及启动图片,你还可以…
原文见这里. Asset Catalogs用于简化管理程序内用到的图片.每个asset catalog可以包含image set, App Icon, Launch Image和OS X Icon(如图). 图片添加可以通过import或者直接从finder里拖拽. catalog本质是文件夹,其中的子文件夹对应上述的4种类型,子文件内是资源文件和json文件. 一个工程里可以有多个catalog,但工程只能含有一个App iCon和Launch Image. catalog里还可以对某一张图片…
iOS开发非常全的三方库.插件等等 github排名:https://github.com/trending, github搜索:https://github.com/search. 此文章转自github:https://github.com/Tim9Liu9/TimLiu-iOS 一.UI 下拉刷新 EGOTableViewPullRefresh- 最早的下拉刷新控件. SVPullToRefresh- 下拉刷新控件. MJRefresh- 仅需一行代码就可以为UITableView或者Co…
2016年9月7日,苹果发布iOS 10.2016年9月14日,全新的操作系统iOS 10将正式上线. 作为开发者,如何适配iOS10呢? 1.Notification(通知) 自从Notification被引入之后,苹果就不断的更新优化,但这些更新优化只是小打小闹,直至现在iOS 10开始真正的进行大改重构,这让开发者也体会到UserNotifications的易用,功能也变得非常强大. iOS 9 以前的通知 1.在调用方法时,有些方法让人很难区分,容易写错方法,这让开发者有时候很苦恼. 2…
p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Menlo; color: #000000 } p.p2 { margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Menlo; color: #d12f1b } p.p3 { margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px "PingFang SC"; color: #d12f1b } p.p4 {…
UI 即 UserInterface(用户界面 1.iOS系统版本,每年都有更新.对我们开发者而言,主要的是观察API的变化. 2.iPhone新手机发布,会产生不同尺寸的屏幕,现在市面上有4种尺寸,我们需要考虑屏幕适配问题.3.iOS系统层级,分为4层.目前我们学习的就是最顶层Cocoa touch层(layer),我们使用的是UIKit框架4.iOS SDK(软件开发工具包).iOS开发语言OC,Swift——都是面向对象. 5.我们最简单的创建UI项目的方法就是通过storyboard(故…
下拉刷新 EGOTableViewPullRefresh - 最早的下拉刷新控件. SVPullToRefresh - 下拉刷新控件. MJRefresh - 仅需一行代码就可以为UITableView或者CollectionView加上下拉刷新或者上拉刷新功能.可以自定义上下拉刷新的文字说明.具体使用看“使用方法”. (国人写) XHRefreshControl - XHRefreshControl 是一款高扩展性.低耦合度的下拉刷新.上提加载更多的组件.(国人写) CBStoreHouseR…
现版本 SDK 8.4 Xcode 运行Xcode 选择 Create a new Xcode project ->Single View Application 命名 NavigationControllerDemo 一.创建 Empty Application 把工程目录下的Main.storyboard和LaunchScreen.xib删除,扔进废纸篓.(ViewController.h ViewController.m也可删除) 打开Info.plist,把Launch screen i…
UI 下拉刷新 EGOTableViewPullRefresh – 最早的下拉刷新控件. SVPullToRefresh – 下拉刷新控件. MJRefresh – 仅需一行代码就可以为UITableView或者CollectionView加上下拉刷新或者上拉刷新功能.可以自定义上下拉刷新的文字说明.具体使用看“使用方法”. (国人写) XHRefreshControl – XHRefreshControl 是一款高扩展性.低耦合度的下拉刷新.上提加载更多的组件.(国人写) CBStoreHou…
文/零距离仰望星空(简书作者)原文链接:http://www.jianshu.com/p/f6cdbc8192ba著作权归作者所有,转载请联系作者获得授权,并标注“简书作者”. 原文出处:codecloud UI下拉刷新EGOTableViewPullRefresh – 最早的下拉刷新控件. SVPullToRefresh – 下拉刷新控件. MJRefresh – 仅需一行代码就可以为UITableView或者CollectionView加上下拉刷新或者上拉刷新功能.可以自定义上下拉刷新的文字…