瀏覽代碼

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 Key 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 查看文件

Before After
Width: 1  |  Height: 1  |  Size: 501 B

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

Before After
Width: 2  |  Height: 2  |  Size: 501 B

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

Before After
Width: 3  |  Height: 3  |  Size: 502 B

Loading…
取消
儲存