Procházet zdrojové kódy

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 před 3 roky
rodič
revize
7d99c8afc4
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: 1A49C7064E060EEE
4 změnil soubory, kde provedl 23 přidání a 0 odebrání
  1. +23
    -0
      Shared/Assets.xcassets/does.not.exist.imageset/Contents.json
  2. binární
      Shared/Assets.xcassets/does.not.exist.imageset/does.not.exist.png
  3. binární
      Shared/Assets.xcassets/does.not.exist.imageset/does.not.exist@2x.png
  4. binární
      Shared/Assets.xcassets/does.not.exist.imageset/does.not.exist@3x.png

+ 23
- 0
Shared/Assets.xcassets/does.not.exist.imageset/Contents.json Zobrazit soubor

@@ -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ární
Shared/Assets.xcassets/does.not.exist.imageset/does.not.exist.png Zobrazit soubor

Před Za
Šířka: 1  |  Výška: 1  |  Velikost: 501 B

binární
Shared/Assets.xcassets/does.not.exist.imageset/does.not.exist@2x.png Zobrazit soubor

Před Za
Šířka: 2  |  Výška: 2  |  Velikost: 501 B

binární
Shared/Assets.xcassets/does.not.exist.imageset/does.not.exist@3x.png Zobrazit soubor

Před Za
Šířka: 3  |  Výška: 3  |  Velikost: 502 B

Načítá se…
Zrušit
Uložit