Bläddra i källkod

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 år sedan
förälder
incheckning
7d99c8afc4
Ingen känd nyckel hittad för denna signaturen i databasen GPG-nyckel ID: 1A49C7064E060EEE
4 ändrade filer med 23 tillägg och 0 borttagningar
  1. +23
    -0
      Shared/Assets.xcassets/does.not.exist.imageset/Contents.json
  2. Binär
      Shared/Assets.xcassets/does.not.exist.imageset/does.not.exist.png
  3. Binär
      Shared/Assets.xcassets/does.not.exist.imageset/does.not.exist@2x.png
  4. Binär
      Shared/Assets.xcassets/does.not.exist.imageset/does.not.exist@3x.png

+ 23
- 0
Shared/Assets.xcassets/does.not.exist.imageset/Contents.json Visa fil

@@ -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
}
}

Binär
Shared/Assets.xcassets/does.not.exist.imageset/does.not.exist.png Visa fil

Före Efter
Bredd: 1  |  Höjd: 1  |  Storlek: 501 B

Binär
Shared/Assets.xcassets/does.not.exist.imageset/does.not.exist@2x.png Visa fil

Före Efter
Bredd: 2  |  Höjd: 2  |  Storlek: 501 B

Binär
Shared/Assets.xcassets/does.not.exist.imageset/does.not.exist@3x.png Visa fil

Före Efter
Bredd: 3  |  Höjd: 3  |  Storlek: 502 B

Laddar…
Avbryt
Spara