contrib/inkscape_tools: add iOS target format
[nit.git] / contrib / inkscape_tools / src / xcode_assets.nit
1 # This file is part of NIT ( http://www.nitlanguage.org ).
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 # http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 # Content of the file to describe iOS icons, usually at `AppIcon.appiconset/Contents.json`
16 fun appiconset_contents_json: String do return """
17 {
18 "images" : [
19 {
20 "idiom" : "iphone",
21 "size" : "29x29",
22 "filename" : "29.png",
23 "scale" : "1x"
24 },
25 {
26 "idiom" : "iphone",
27 "size" : "29x29",
28 "filename" : "58.png",
29 "scale" : "2x"
30 },
31 {
32 "idiom" : "iphone",
33 "size" : "29x29",
34 "filename" : "87.png",
35 "scale" : "3x"
36 },
37 {
38 "idiom" : "iphone",
39 "size" : "40x40",
40 "filename" : "80.png",
41 "scale" : "2x"
42 },
43 {
44 "idiom" : "iphone",
45 "size" : "40x40",
46 "filename" : "120.png",
47 "scale" : "3x"
48 },
49 {
50 "idiom" : "iphone",
51 "size" : "57x57",
52 "filename" : "57.png",
53 "scale" : "1x"
54 },
55 {
56 "idiom" : "iphone",
57 "size" : "57x57",
58 "filename" : "114.png",
59 "scale" : "2x"
60 },
61 {
62 "idiom" : "iphone",
63 "size" : "60x60",
64 "filename" : "120.png",
65 "scale" : "2x"
66 },
67 {
68 "idiom" : "iphone",
69 "size" : "60x60",
70 "filename" : "180.png",
71 "scale" : "3x"
72 }
73 ],
74 "info" : {
75 "version" : 1,
76 "author" : "svg_to_icons"
77 }
78 }"""