Adding images to a SwiftUI application | Bootcamp #7

  Рет қаралды 43,240

Swiftful Thinking

Swiftful Thinking

3 жыл бұрын

In this video we will add images to our Xcode project and then incorporate them into our SwiftUI view. This video covers how to add, resize and reshape images. Using SwiftUI modifiers, we can easily make an image resizable, change an image's aspect ratio, and even clip the shape to make circular images.
Next video: • Frames and Alignments ...
Last video: • System Icons, Multi-Co...
🤙 WELCOME BACK 🤙
WEBSITE: www.swiftful-thinking.com
DISCORD: / discord
GITHUB: github.com/SwiftfulThinking/
SAY THANKS: www.buymeacoffee.com/nicksarno

Пікірлер: 35
@ubuandeyelbme
@ubuandeyelbme 6 ай бұрын
Thanks, Nick!! For anyone watching years later, if you have any images that are .png files, ensure that the .png is lowercased or else you'll get a warning about the image not being usable, and yet it still works just fine (cuz it's a warning). In other words, if your image is flowers.PNG, you'll get said warning (at least that's what happens on mine in Xcode 15.0.1). Cheers!
@darrelljustice45
@darrelljustice45 3 ай бұрын
This series has been so helpful so far! Even in 2024!
@Dorothyinstead
@Dorothyinstead 2 жыл бұрын
I like your subtle but extremely effective repetitive actions when beginning your tutorials in this series. For example, opening up a new file for each new tutorial. This is simple, however, most effective for someone following and repeating the same actions in Xcode.
@SwiftfulThinking
@SwiftfulThinking 2 жыл бұрын
I'm glad it helps! It's going to get much hard than this though I hope you're ready 😉
@markmenon
@markmenon 29 күн бұрын
Really helpful! Been looking for this tutorial for ages! :)
@jordantejeda
@jordantejeda Жыл бұрын
THANK YOU FOR YOUR AWESOME INSTRUCTIONS AND KNOWLEDGE. YOU ARE TRULY A BEAUTIFUL SOUL!!
@andrews13
@andrews13 Жыл бұрын
I watched the ads full, just to give back something to you in return
@SwiftfulThinking
@SwiftfulThinking Жыл бұрын
🥹😂 My man!!
@JasonEyermann
@JasonEyermann Жыл бұрын
These videos are seriously the best!!!
@technohelp21
@technohelp21 Жыл бұрын
Thank you so much for these lessons. Your have an excellent teaching style, very easy to understand and follow along!
@SwiftfulThinking
@SwiftfulThinking Жыл бұрын
Welcome Jorge!
@JeckyKA
@JeckyKA 3 жыл бұрын
Great video, thank you so much!
@thaisfernandes7498
@thaisfernandes7498 3 жыл бұрын
Wow, I didnt know about the last example. Thank you so much
@SwiftfulThinking
@SwiftfulThinking 3 жыл бұрын
Happy to help :)
@dugrut1325
@dugrut1325 Жыл бұрын
Thanks. I’m added images in many of my apps. Stored in iCloud and core data
@Dragonboh1
@Dragonboh1 Жыл бұрын
Dude, keep doing, what you are doing
@randlyce
@randlyce 2 жыл бұрын
clear explanation
@user-ic8rm2zf7v
@user-ic8rm2zf7v Жыл бұрын
Awesome your tutorial
@amaniyo
@amaniyo 2 жыл бұрын
THANK YOUUUUU
@istuart0
@istuart0 7 ай бұрын
Thanks for your wonderful videos Nick. I'm moving from coding iOS and Android apps in Microsoft's .Net MAUI framework to Swift. Even though the MAUI app appears to work well on iPhones, there are too many issues I have and need to write native iOS code. Alas, for images, I seem to have taken a step backwards. .Net Maui renders SVG images at any size correctly without adding antialiasing. Is there a way to use SVG assets and scale them correctly, as they were originally designed to be scaled?
@user-ev3dl9zt8s
@user-ev3dl9zt8s 3 жыл бұрын
Thank you!!! (감사합니다.)
@SwiftfulThinking
@SwiftfulThinking 3 жыл бұрын
천만에요 :)
@islamISHere_001
@islamISHere_001 6 ай бұрын
.clipped I so long searched it thanks)
@mmggyy1
@mmggyy1 2 жыл бұрын
THANKS
@Tony_Ugatz
@Tony_Ugatz Жыл бұрын
Is there a chance to download this whole tutorial project?
@wa7a1993
@wa7a1993 2 жыл бұрын
How to let the user upload an image, please?
@ChannelTvgameOfYhronw
@ChannelTvgameOfYhronw 24 күн бұрын
Google icon in apple tutorial
@jacobchappell98
@jacobchappell98 2 жыл бұрын
Named my swift view file image lol. Lesson learned don’t name files after a function you are about to use
@SwiftfulThinking
@SwiftfulThinking 2 жыл бұрын
Haha we’ve all been there 😂😅
@ZhengCheng
@ZhengCheng 3 жыл бұрын
.clipShape(Circle())
@knowledgeispower4953
@knowledgeispower4953 6 ай бұрын
sup bro😉
@themix5409
@themix5409 7 ай бұрын
no matter what I do my image wont show up
@ZhengCheng
@ZhengCheng 3 жыл бұрын
.aspectRatio(contentMode: fill).clipped()
@ZhengCheng
@ZhengCheng 3 жыл бұрын
.clipShape(RoundedRectangle(cornerRadius: 25.0))
@ZhengCheng
@ZhengCheng 3 жыл бұрын
.renderingMode(.template)
Frames and Alignments in SwiftUI | Bootcamp #8
12:07
Swiftful Thinking
Рет қаралды 38 М.
LazyVGrid, LazyHGrid, and GridItems in SwiftUI | Bootcamp #16
22:16
Swiftful Thinking
Рет қаралды 43 М.
Опасность фирменной зарядки Apple
00:57
SuperCrastan
Рет қаралды 12 МЛН
1,000 Diamonds! (Funny Minecraft Animation) #shorts #cartoon
00:31
toonz CRAFT
Рет қаралды 41 МЛН
Why Is He Unhappy…?
00:26
Alan Chikin Chow
Рет қаралды 71 МЛН
Spot The Fake Animal For $10,000
00:40
MrBeast
Рет қаралды 196 МЛН
Swift API Calls for Beginners (Networking) - Async Await & JSON
25:35
System Icons, Multi-Color Icons, and SF Symbols in SwiftUI | Bootcamp #6
11:54
How to use NavigationStack in SwiftUI | Bootcamp #62
23:59
Swiftful Thinking
Рет қаралды 32 М.
How To Use Text Fields in SwiftUI (2024)
10:03
CodeWithChris
Рет қаралды 7 М.
How to use @EnvironmentObject in SwiftUI | Bootcamp #51
26:48
Swiftful Thinking
Рет қаралды 37 М.
Опасность фирменной зарядки Apple
00:57
SuperCrastan
Рет қаралды 12 МЛН