-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Karan Bhasin
committed
Jul 11, 2020
1 parent
d84a3c7
commit 09d2792
Showing
8 changed files
with
63 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+2.96 KB
(120%)
...eproj/project.xcworkspace/xcuserdata/karbhasin.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
15 changes: 15 additions & 0 deletions
15
SwiftUI_Starter/Assets.xcassets/apple.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "apple.jpeg", | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
}, | ||
"properties" : { | ||
"preserves-vector-representation" : true | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions
15
SwiftUI_Starter/Assets.xcassets/med.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "national-cancer-institute-2fyeLhUeYpg-unsplash.pdf", | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
}, | ||
"properties" : { | ||
"preserves-vector-representation" : true | ||
} | ||
} |
Binary file added
BIN
+231 KB
...I_Starter/Assets.xcassets/med.imageset/national-cancer-institute-2fyeLhUeYpg-unsplash.pdf
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// | ||
// LearnImagesView.swift | ||
// SwiftUI_Starter | ||
// | ||
// Created by Karan Bhasin on 11/07/20. | ||
// Copyright © 2020 Karan Bhaisn. All rights reserved. | ||
// | ||
|
||
import SwiftUI | ||
|
||
struct LearnImagesView: View { | ||
var body: some View { | ||
Image("med") | ||
.resizable() | ||
.scaledToFill() | ||
.frame(width: 200, height: 700, alignment: .center) | ||
.clipShape(Circle()) | ||
.aspectRatio(contentMode: .fit) | ||
.clipped() | ||
} | ||
} | ||
|
||
struct LearnImagesView_Previews: PreviewProvider { | ||
static var previews: some View { | ||
LearnImagesView() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters