Skip to content

Commit a567721

Browse files
author
Mithun
committed
Assets: Import extras + Basic view
1 parent a965732 commit a567721

File tree

12 files changed

+99
-2
lines changed

12 files changed

+99
-2
lines changed
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"filename" : "Background.pdf",
6+
"scale" : "1x"
7+
},
8+
{
9+
"idiom" : "universal",
10+
"scale" : "2x"
11+
},
12+
{
13+
"idiom" : "universal",
14+
"scale" : "3x"
15+
}
16+
],
17+
"info" : {
18+
"version" : 1,
19+
"author" : "xcode"
20+
}
21+
}
-4.02 KB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"filename" : "avatar.jpg",
6+
"scale" : "1x"
7+
},
8+
{
9+
"idiom" : "universal",
10+
"scale" : "2x"
11+
},
12+
{
13+
"idiom" : "universal",
14+
"scale" : "3x"
15+
}
16+
],
17+
"info" : {
18+
"version" : 1,
19+
"author" : "xcode"
20+
}
21+
}
Loading

DesignCode/Assets.xcassets/Menu.imageset/Contents.json DesignCode/Assets.xcassets/promo.imageset/Contents.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"images" : [
33
{
44
"idiom" : "universal",
5-
"filename" : "Menu.pdf",
5+
"filename" : "promo.jpg",
66
"scale" : "1x"
77
},
88
{
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"filename" : "wallpaper01.jpg",
6+
"scale" : "1x"
7+
},
8+
{
9+
"idiom" : "universal",
10+
"scale" : "2x"
11+
},
12+
{
13+
"idiom" : "universal",
14+
"scale" : "3x"
15+
}
16+
],
17+
"info" : {
18+
"version" : 1,
19+
"author" : "xcode"
20+
}
21+
}
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"filename" : "wallpaper02.jpg",
6+
"scale" : "1x"
7+
},
8+
{
9+
"idiom" : "universal",
10+
"scale" : "2x"
11+
},
12+
{
13+
"idiom" : "universal",
14+
"scale" : "3x"
15+
}
16+
],
17+
"info" : {
18+
"version" : 1,
19+
"author" : "xcode"
20+
}
21+
}
Loading

DesignCode/ContentView.swift

+14-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,20 @@ import SwiftUI
1010

1111
struct ContentView: View {
1212
var body: some View {
13-
Text("Hello World")
13+
VStack {
14+
VStack {
15+
Text("UI Design")
16+
.font(.title)
17+
.fontWeight(.bold)
18+
.color(Color("accent"))
19+
.padding(.top)
20+
Text("Certificate")
21+
.color(.white)
22+
}
23+
Image("Background")
24+
}
25+
.background(Color.black)
26+
.cornerRadius(10)
1427
}
1528
}
1629

0 commit comments

Comments
 (0)