iOS-----About Asset Catalog】的更多相关文章

执行命令:rm -rf /Users/<用户名>/Library/Developer/Xcode/DerivedData 然后重新编译项目即可.…
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…
在使用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…
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…
本文由CocoaChina译者 @唧唧歪歪 翻译,作者:Hector Matos 原文:4 XCODE ASSET CATALOG SECRETS YOU NEED TO KNOW 恶梦 想象你正在干活,你的上级要求你在工程中加入一些图片.你找到团队中的设计师(如果你们有一个的话),鼓起勇气,问他要这些图片.不过,通常他都会忙得根本没时间帮你.因为他要做的活儿比你还多.说实话,你到底见过一个设计师有多少活儿要做吗?!简直多到令人发指啊!所以你最不想做的就是成为那个再给他加活儿的人了.特别是那些活…
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.…
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…
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.步骤:…
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…
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…
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…
刚升级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…
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…
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…
1.应用 Assets.xcassets :用来存放图像资源文件 给项目添加 AppIcon 时图标要用 png 格式的,不要用其他格式.当是其它图片格式时 ,不要仅仅修改其后缀名,若仅仅修改后缀名,再添加 AppIcon 后会报错的.要借助 预览App的文件下“导出”转为其他格式 好处: 自动管理图片,如@1x,@2x图片,使用的时候使用Asset 名字即可 管理应用的Icon和Default图片,这个挺方便的,可以完全抛开以前规范命名如Icon.png,Icon@2x.png,Xcode会自…
2016年9月7日,苹果发布iOS 10.2016年9月14日,全新的操作系统iOS 10将正式上线. 作为开发者,如何适配iOS10呢? 1.Notification(通知) 自从Notification被引入之后,苹果就不断的更新优化,但这些更新优化只是小打小闹,直至现在iOS 10开始真正的进行大改重构,这让开发者也体会到UserNotifications的易用,功能也变得非常强大. iOS 9 以前的通知 1.在调用方法时,有些方法让人很难区分,容易写错方法,这让开发者有时候很苦恼. 2…
1.截屏利器:Snip 强大的滚动截屏功能,你值得拥有! Snip.png 传送门:http://www.snip.qq.com/ 2.Mac上最好的终端模拟器:iTerm2 iTeam.png 传送门:https://www.iterm2.com/ 3.专业的 Markdown 写作软件:MWeb MWeb Lite.png 传送门:http://zh.mweb.im/ 4.应用切换神器:Snap Snap.png Automatic模式 Automatic模式.png 直接将dock栏上的应…
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(故…
李洪强iOS经典面试题140-UI   UI viewcontroller的一些方法的说明viewDidLoad,viewWillDisappear, viewWillAppear方法的 顺序和作用? viewWillAppear:视图即将可见时调用.默认情况下不执行任何操作 viewDidAppear:视图已完全过渡到屏幕上时调用 viewWillDisappear:视图被驳回时调用,覆盖或以其他方式隐藏.默认情况下不执行任何操作 viewDidDisappear:视图被驳回后调用,覆盖或以其…
下拉刷新 EGOTableViewPullRefresh - 最早的下拉刷新控件. SVPullToRefresh - 下拉刷新控件. MJRefresh - 仅需一行代码就可以为UITableView或者CollectionView加上下拉刷新或者上拉刷新功能.可以自定义上下拉刷新的文字说明.具体使用看“使用方法”. (国人写) XHRefreshControl - XHRefreshControl 是一款高扩展性.低耦合度的下拉刷新.上提加载更多的组件.(国人写) CBStoreHouseR…
About Information Property List Files UILaunchImageFile UILaunchImageFile (String - iOS) specifies the name of the launch image file for the app on older versions of iOS. If this key and the UILaunchImages key are both present, the app uses the UILau…
[385][scrollView不接受点击事件,是因为事件传递失败] // // MyScrollView.m // Created by beyond on 15/6/6. // Copyright (c) 2015年 beyond.com All rights reserved. // 不一定要用继承,可以使用分类 #import MyScrollView.h #import CoView.h @implementation MyScrollView - (void)touchesBegan…
点击项目->TARGETS->App Icons and Launch Images->Launch Images Source->Use Asset Catalog...->Migrate 1.这里如果选择了New Asset Catalog,就在新生成的Images.xcassets里面配置LaunchImage,如果在Assets.xcassets里面也有LaunchImage,请删除(不然不会显示在这里配置的LaunchImage),同时把Launch Screen…
文/余书懿(简书作者)原文链接:http://www.jianshu.com/p/7aa06ce22a7b著作权归作者所有,转载请联系作者获得授权,并标注“简书作者”. 引言 Asset Catalog是 iOS7 新出的图片资源管理方案,将分散在项目中大大小小的图片资源进行统一存放和集中管理.如果你的项目已经最低支持 iOS7,那么不要犹豫,开始使用它吧! 它主要包含以下几个功能特性 设定App图标 设定App启动图 图片资源管理 PDF图片 Slicing Size Classes 如何创建…
UI 下拉刷新 EGOTableViewPullRefresh – 最早的下拉刷新控件. SVPullToRefresh – 下拉刷新控件. MJRefresh – 仅需一行代码就可以为UITableView或者CollectionView加上下拉刷新或者上拉刷新功能.可以自定义上下拉刷新的文字说明.具体使用看“使用方法”. (国人写) XHRefreshControl – XHRefreshControl 是一款高扩展性.低耦合度的下拉刷新.上提加载更多的组件.(国人写) CBStoreHou…