Skip to content

Commit 2f2be22

Browse files
alyakanHeshamMegid
authored andcommitted
Converts app to Swift
1 parent 9578059 commit 2f2be22

36 files changed

+390
-391
lines changed

Sample/Instabug Demo.xcodeproj/project.pbxproj

Lines changed: 58 additions & 37 deletions
Large diffs are not rendered by default.

Sample/Instabug Demo/AppDelegate.h

Lines changed: 0 additions & 16 deletions
This file was deleted.

Sample/Instabug Demo/AppDelegate.m

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// AppDelegate.swift
2+
// Instabug Demo
3+
//
4+
// Copyright © 2016 Instabug. All rights reserved.
5+
//
6+
import Instabug
7+
8+
@UIApplicationMain
9+
class AppDelegate: UIResponder, UIApplicationDelegate {
10+
11+
var window: UIWindow?
12+
let appToken = "81fb5c82a5d7144eb77da6e1ec9d60e6"
13+
14+
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey : Any]? = nil) -> Bool {
15+
Instabug.start(withToken: appToken, invocationEvents: .floatingButton)
16+
Instabug.autoScreenRecordingEnabled = true
17+
NetworkLogger.enabled = true
18+
return true
19+
}
20+
}

Sample/Instabug Demo/Assets.xcassets/AppIcon.appiconset/Contents.json

Lines changed: 50 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010
"size" : "20x20",
1111
"scale" : "3x"
1212
},
13+
{
14+
"size" : "29x29",
15+
"idiom" : "iphone",
16+
"filename" : "Icon-Small.png",
17+
"scale" : "1x"
18+
},
1319
{
1420
"size" : "29x29",
1521
"idiom" : "iphone",
@@ -34,6 +40,18 @@
3440
"filename" : "[email protected]",
3541
"scale" : "3x"
3642
},
43+
{
44+
"size" : "57x57",
45+
"idiom" : "iphone",
46+
"filename" : "Icon.png",
47+
"scale" : "1x"
48+
},
49+
{
50+
"size" : "57x57",
51+
"idiom" : "iphone",
52+
"filename" : "[email protected]",
53+
"scale" : "2x"
54+
},
3755
{
3856
"size" : "60x60",
3957
"idiom" : "iphone",
@@ -57,38 +75,63 @@
5775
"scale" : "2x"
5876
},
5977
{
60-
"idiom" : "ipad",
6178
"size" : "29x29",
79+
"idiom" : "ipad",
80+
"filename" : "Icon-Small-1.png",
6281
"scale" : "1x"
6382
},
6483
{
65-
"idiom" : "ipad",
6684
"size" : "29x29",
85+
"idiom" : "ipad",
86+
"filename" : "[email protected]",
6787
"scale" : "2x"
6888
},
6989
{
70-
"idiom" : "ipad",
7190
"size" : "40x40",
91+
"idiom" : "ipad",
92+
"filename" : "Icon-Spotlight-41.png",
7293
"scale" : "1x"
7394
},
7495
{
75-
"idiom" : "ipad",
7696
"size" : "40x40",
97+
"idiom" : "ipad",
98+
"filename" : "[email protected]",
7799
"scale" : "2x"
78100
},
79101
{
80-
"idiom" : "ipad",
81102
"size" : "76x76",
103+
"idiom" : "ipad",
104+
"filename" : "Icon-76.png",
82105
"scale" : "1x"
83106
},
84107
{
85-
"idiom" : "ipad",
86108
"size" : "76x76",
109+
"idiom" : "ipad",
110+
"filename" : "[email protected]",
87111
"scale" : "2x"
88112
},
89113
{
90-
"idiom" : "ipad",
91114
"size" : "83.5x83.5",
115+
"idiom" : "ipad",
116+
"filename" : "[email protected]",
117+
"scale" : "2x"
118+
},
119+
{
120+
"size" : "1024x1024",
121+
"idiom" : "ios-marketing",
122+
"filename" : "[email protected]",
123+
"scale" : "1x"
124+
},
125+
{
126+
"size" : "512x512",
127+
"idiom" : "mac",
128+
"filename" : "iTunesArtwork.png",
129+
"scale" : "1x"
130+
},
131+
{
132+
"size" : "512x512",
133+
"idiom" : "mac",
134+
"filename" : "[email protected]",
92135
"scale" : "2x"
93136
}
94137
],
854 Bytes
Loading
831 Bytes
Loading
5.3 KB
Loading
11.8 KB
Loading
1.67 KB
Loading

0 commit comments

Comments
 (0)