浏览代码

Add “does.not.exist” 1x1 transparent image

This is to silence runtime warnings about missing images for the workaround used to add a11y labels/hints to toolbar buttons.
pull/160/head
Angelo Stavrow 3 年前
父节点
当前提交
7d99c8afc4
找不到此签名对应的密钥 GPG 密钥 ID: 1A49C7064E060EEE
共有 4 个文件被更改,包括 23 次插入0 次删除
  1. +23
    -0
      Shared/Assets.xcassets/does.not.exist.imageset/Contents.json
  2. 二进制
      Shared/Assets.xcassets/does.not.exist.imageset/does.not.exist.png
  3. 二进制
      Shared/Assets.xcassets/does.not.exist.imageset/does.not.exist@2x.png
  4. 二进制
      Shared/Assets.xcassets/does.not.exist.imageset/does.not.exist@3x.png

+ 23
- 0
Shared/Assets.xcassets/does.not.exist.imageset/Contents.json 查看文件

@@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "does.not.exist.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "does.not.exist@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "does.not.exist@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

二进制
Shared/Assets.xcassets/does.not.exist.imageset/does.not.exist.png 查看文件

之前 之后
宽度: 1  |  高度: 1  |  大小: 501 B

二进制
Shared/Assets.xcassets/does.not.exist.imageset/does.not.exist@2x.png 查看文件

之前 之后
宽度: 2  |  高度: 2  |  大小: 501 B

二进制
Shared/Assets.xcassets/does.not.exist.imageset/does.not.exist@3x.png 查看文件

之前 之后
宽度: 3  |  高度: 3  |  大小: 502 B

正在加载...
取消
保存