Adding images to a SwiftUI application | Bootcamp #7

Поділитися
Вставка
  • Опубліковано 10 жов 2024
  • 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-t...
    DISCORD: / discord
    GITHUB: github.com/Swi...
    SAY THANKS: www.buymeacoff...

КОМЕНТАРІ • 35

  • @ubu-ibme
    @ubu-ibme 8 місяців тому +3

    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!

  • @Dorothyinstead
    @Dorothyinstead 3 роки тому +12

    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  3 роки тому

      I'm glad it helps! It's going to get much hard than this though I hope you're ready 😉

  • @andrews13
    @andrews13 Рік тому +7

    I watched the ads full, just to give back something to you in return

  • @jordantejeda
    @jordantejeda Рік тому +2

    THANK YOU FOR YOUR AWESOME INSTRUCTIONS AND KNOWLEDGE. YOU ARE TRULY A BEAUTIFUL SOUL!!

  • @darrelljustice45
    @darrelljustice45 5 місяців тому

    This series has been so helpful so far! Even in 2024!

  • @markmenon
    @markmenon 3 місяці тому

    Really helpful! Been looking for this tutorial for ages! :)

  • @thaisfernandes7498
    @thaisfernandes7498 3 роки тому +3

    Wow, I didnt know about the last example. Thank you so much

  • @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!

  • @dugrut1325
    @dugrut1325 2 роки тому

    Thanks. I’m added images in many of my apps. Stored in iCloud and core data

  • @islamISHere_001
    @islamISHere_001 8 місяців тому

    .clipped I so long searched it
    thanks)

  • @randlyce
    @randlyce 3 роки тому +1

    clear explanation

  • @istuart0
    @istuart0 9 місяців тому

    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?

  • @Dragonboh1
    @Dragonboh1 Рік тому

    Dude, keep doing, what you are doing

  • @oliviergeiger
    @oliviergeiger Рік тому

    Awesome your tutorial

  • @최승기-g8f
    @최승기-g8f 3 роки тому +1

    Thank you!!! (감사합니다.)

  • @JeckyKA
    @JeckyKA 3 роки тому

    Great video, thank you so much!

  • @jacobchappell98
    @jacobchappell98 2 роки тому +2

    Named my swift view file image lol. Lesson learned don’t name files after a function you are about to use

  • @mmggyy1
    @mmggyy1 2 роки тому

    THANKS

  • @amaniyo
    @amaniyo 2 роки тому

    THANK YOUUUUU

  • @Tony_Ugatz
    @Tony_Ugatz Рік тому

    Is there a chance to download this whole tutorial project?

  • @ChannelTvgameOfYhronw
    @ChannelTvgameOfYhronw 2 місяці тому

    Google icon in apple tutorial

  • @ZhengCheng
    @ZhengCheng 3 роки тому +2

    .clipShape(Circle())

  • @wa7a1993
    @wa7a1993 3 роки тому

    How to let the user upload an image, please?

  • @themix5409
    @themix5409 9 місяців тому

    no matter what I do my image wont show up

  • @ZhengCheng
    @ZhengCheng 3 роки тому +1

    .clipShape(RoundedRectangle(cornerRadius: 25.0))

  • @ZhengCheng
    @ZhengCheng 3 роки тому +1

    .aspectRatio(contentMode: fill).clipped()

  • @knowledgeispower4953
    @knowledgeispower4953 8 місяців тому

    sup bro😉

  • @ZhengCheng
    @ZhengCheng 3 роки тому +1

    .renderingMode(.template)