Swift: Upload Photos to Firebase Storage (and Download, Swift 5) - Xcode 11 - 2020

Поділитися
Вставка
  • Опубліковано 4 лис 2024
  • In this video we will learn how to upload images to Firebase Storage, as well as how to download them. This includes setting up the firebase console, selecting an image, converting between data and image, etc.
    💻 Source Code: / iosacademy
    🎥 Subscribe for more: www.youtube.co...
    😎 Like my teaching style? Check out some of my most popular courses! courses.iosaca...
    #swift #firebasestorage #iosdeveloper
    Join the iOS Academy Community: iosacademy.io/
    ** Get Skillshare free for 2 Months and learn iOS
    www.skillshare...
    ** Manage all your investments from app earnings on Betterment!
    bit.ly/3eBwlI9
    ** Grow your own UA-cam tech channel with TubeBuddy:
    www.tubebuddy....

КОМЕНТАРІ • 56

  • @Oliver12723
    @Oliver12723 Рік тому +1

    Your codes are working !!! 1000 thanks!❤💋

  • @bondgaide
    @bondgaide 4 роки тому +1

    Learned so much from your daily videos. I really appreciate it, Please keep it up.

    • @iOSAcademy
      @iOSAcademy  4 роки тому

      You're welcome! Lets get this channel to 1M subs asap haha

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

    Any toturial image upload and retrieve from firestore in swift storyboard?

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

    Thanks a lot. This tutorial was very helpful.

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

    Hey Afraz, I know this is an older video, but how would you display that image in a tableView or collectionView cell?
    Would really appreciate it if you would respond.

  • @ruliruli7634
    @ruliruli7634 4 роки тому

    Just about time to learn by myself and your video pop up! Thank you man!

    • @iOSAcademy
      @iOSAcademy  4 роки тому

      Youre welcome! Make sure to sub for more

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

    great vid!

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

    Good video man

  • @gatienlaurier1573
    @gatienlaurier1573 4 роки тому +1

    amazing content thanks man !

    • @iOSAcademy
      @iOSAcademy  4 роки тому +1

      You’re welcome, make sure to subscribe

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

    Awesome video, thanks.

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

    Thanks for the great video and I subscribed! I was able to follow along the whole time and was able to successfully upload files to firebase and saw it on the console. Where my app had problems was when it tried to find the URL download link and display it. when I try to display the label and image view my build fails because it cannon assign value of type 'StorageMetadata' to type 'String'. Also, it doesn't let me use command let urlString = url.absoluteString command which might be causing the problem. Do you know how to fix this problem?

  • @dhruvvxx
    @dhruvvxx 4 роки тому

    Great video but I have a question, how to do that user profile picture upload thing, I use your concept in my signup page, and if I create a new user it shows the pic uploaded of the previous user. How do I implement it?

    • @dhruvvxx
      @dhruvvxx 4 роки тому

      And i probably be needing the way to store multiple images for multiple users too, because right now it only stores one image

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

    Is there a way to compress the photo before uploading it to Cloud Storage?

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

    Thank you!

  • @andreagualandris2462
    @andreagualandris2462 4 роки тому

    Beautiful tutorial, thank you!

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

      I guess Im quite randomly asking but do anybody know a good place to watch new tv shows online ?

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

      @Marco Shepard i would suggest FlixZone. You can find it by googling =)

  • @coolmancool1000
    @coolmancool1000 4 роки тому

    Love your video! How would this work if I wanted to implement this into a collectionView?

    • @iOSAcademy
      @iOSAcademy  4 роки тому

      Thanks, do you mean rendering each uploaded photo?

    • @coolmancool1000
      @coolmancool1000 4 роки тому

      iOS Academy yeah where you could click the Upload Photo button as many times as you want and it’ll display the photos in the CollectionView

  • @user-mickey88661
    @user-mickey88661 4 роки тому

    nice video but what if i want to the upload job in the background

  • @pvssuresh
    @pvssuresh 4 роки тому +1

    What about photos viewer,video player in the chat app series ?

    • @iOSAcademy
      @iOSAcademy  4 роки тому

      Thats coming, dont worry :)

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

    Hello, I am trying to do this but with 2 Images in the same View, but it keeps attributing the same image to both, any idea on how to fix it?

  • @anthonykim2372
    @anthonykim2372 4 роки тому +1

    For those getting error for ios 14 and the new xcode version, you would need to downgrade the ios version by the arrow to fix the error.

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

      Anthony Kim, what was the error you received?

  • @Jangotrain777
    @Jangotrain777 4 роки тому

    Great content. How long to waiting for the courses on the cite?

  • @xiampiii
    @xiampiii 4 роки тому

    Great video but what if I need to get multiple images from the Storage and put them in an array? Thanks for the tutorial!

    • @iOSAcademy
      @iOSAcademy  4 роки тому

      Thanks, you can get multiple via a looped call and dispatch groups or via a batch fetch call to firebase

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

      @@iOSAcademy can you please make a video of this as an attachment to this tutorial?

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

    How come Xcode complains ""Could not build Objective-C" module 'FireBase?"

  • @recursion_wiz8762
    @recursion_wiz8762 4 роки тому +1

    Awesome!

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

    I get the error when I want to upload the image. Could anybody help me with that?
    Failed to upload: Optional("An unknown error occurred, please check the server response.")

  • @jaxonmoh3708
    @jaxonmoh3708 4 роки тому

    This doesn't seem to be working anymore at least for me. Firebase have remove Firebase/Core so you no longer need to use it

  • @Dooggystyle
    @Dooggystyle 4 роки тому

    Very Godd Video bro! I upload the same videos!

  • @Dooggystyle
    @Dooggystyle 4 роки тому

    Very Godd Video bro! I subscribed!do it olso

  • @NK-sj4wk
    @NK-sj4wk Рік тому

    👍

  • @m.a.354
    @m.a.354 3 роки тому

    ı dont believe to you 😂 you used storyboard