Firebase Upload Image (STEP BY STEP)

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ส.ค. 2024
  • Firebase Upload Image (STEP BY STEP)
    Escape Tutorial Hell 👉 rebeloper.com/mentoring
    If you want to learn firebase upload image or firebase upload image ios or firebase storage example ios, then you are in the right place!
    Rebeloper is here to help you in upload image to firebase swift 4 and firebase image storage.
    In these firebase tutorials you will learn about get started with firebase storage for ios, how to upload images to firebase storage, download and upload image to firebase and firebase storage pricing.
    We are going to learn firebase storage dependency, uploading image to firebase storage and database and ios upload file in general.
    Let's finally do some serious coding and uploading images to firebase storage. And while we're at it let’s save that data to Firestore.
    Let’s dive in firebase image upload!
    Don’t forget to download the resources:
    → store.rebeloper.com/youtube-c...
    To learn how to use the UIImagePickerController refer to this video:
    • Pick Image with UIImag...
    To learn about Result and creating your own custom errors watch this playlist:
    • Swift Result - Hands o...
    You can watch the "Swift 5 UIImage Mania" playlist here:
    • Swift Camera - Save UI...
    RESOURCES & LINKS MENTIONED IN THIS VIDEO:
    developer.apple.com/xcode/swi...
    developer.apple.com/tutorials...
    **VIDEOS I RECOMMEND**
    UIKit Tutorial Swift 2020
    → • UICollectionView Swift...
    DO YOU WANT TO BE MY APPRENTICE?
    HIRE ME → rebeloper.com/hire-us/
    TOOLS I RECOMMEND:
    → rebeloper.com/tools
    __________
    Say hi on social:
    Get in touch:
    → support@rebeloper.com
    SUBSCRIBE to weekly tips & tutorials for building iOS apps!
    → th-cam.com/users/rebeloper?su...
    Github: github.com/rebeloper/
    Hire me: rebeloper.com/hire-us/
    LinkedIn: / rebeloper
    My Blog: rebeloper.com/blog
    Follow me on Instagram: / rebeloper
    _____
    • Firebase Upload Image ...
    #rebeloper

ความคิดเห็น • 46

  • @rebeloper
    @rebeloper  5 ปีที่แล้ว +1

    How do you upload your images to Firebase Storage?

    • @rebeloper
      @rebeloper  5 ปีที่แล้ว

      :) User Defaults is basically a plist file. While you could store the images as Data it is not advised to store large amounts of images there. But for small storage it's perfect.

    • @rebeloper
      @rebeloper  5 ปีที่แล้ว

      LOL

  • @MononeRocks
    @MononeRocks 3 ปีที่แล้ว +1

    Thanks!!! Your firebase tutorials are the best!!!!

    • @rebeloper
      @rebeloper  3 ปีที่แล้ว +1

      Glad you like them! BTW if you liked this video taken look my latest video: th-cam.com/video/UOX2EN9kGas/w-d-xo.html

  • @kdtechniquesofficial6153
    @kdtechniquesofficial6153 2 ปีที่แล้ว

    Understood very clearly, so thank you.

    • @rebeloper
      @rebeloper  2 ปีที่แล้ว +1

      Glad it was helpful! BTW now you can have a Slide in Menu easily in SwiftUI: th-cam.com/video/9WKVXHgEFU8/w-d-xo.html

  • @paulo.mendes
    @paulo.mendes 5 ปีที่แล้ว

    Going to try this during the weekend. TKS!

    • @rebeloper
      @rebeloper  5 ปีที่แล้ว

      Awesome! Don't forget to tell me how it went 🤓 Also turn on the notification bell to be notified when the new SwiftUI series comes out ✌️

  • @annazislina6335
    @annazislina6335 4 ปีที่แล้ว

    Great tutorial, helped me a lot! Thank you!

    • @rebeloper
      @rebeloper  4 ปีที่แล้ว

      Glad it helped, Anna! Check out my new playlist: th-cam.com/video/KBjS6eeZ1K8/w-d-xo.html

  • @aaryanshroff
    @aaryanshroff 5 ปีที่แล้ว +1

    Your videos are amazing! And so many! I'm so glad to have discovered this channel. I can find tutorials on any topic.

    • @rebeloper
      @rebeloper  5 ปีที่แล้ว

      You are welcome :) Let em know if you would like me to cover a topic that you struggle with.

  • @josefsantamaria
    @josefsantamaria 5 ปีที่แล้ว

    realy enjoy your content and way of teaching! thanks!

    • @rebeloper
      @rebeloper  5 ปีที่แล้ว

      You are welcome. Subscribe for more awesome content :)

  • @freebird4050
    @freebird4050 4 ปีที่แล้ว

    Good work. Very kind and very detail.

    • @rebeloper
      @rebeloper  4 ปีที่แล้ว

      Welcome. Take a look at my lates video about sending emails in Swift: th-cam.com/video/aJ0Fz4rCZbw/w-d-xo.html

  • @adarlatak1543
    @adarlatak1543 4 ปีที่แล้ว

    what is "Mykeys" at 4:45???

    • @rebeloper
      @rebeloper  4 ปีที่แล้ว

      It's an enum so i don't have typos in my code. BTW take a look at my lates video tutorial on custom transitions: th-cam.com/video/M5GYJnQnT_g/w-d-xo.html

  • @reventon555
    @reventon555 4 ปีที่แล้ว

    Hi, great video! one other question, what would the way to upload videos from the users gallery? I am not sure how to specify the data type

    • @rebeloper
      @rebeloper  4 ปีที่แล้ว

      You have to upload Data. So You grab the UIImage from your UIImaegPickerController and transform it into a Data type and upload it. I believe it is detailed out here or the next video on the playlist: th-cam.com/video/UfyxZIN5xMQ/w-d-xo.html

    • @reventon555
      @reventon555 4 ปีที่แล้ว

      @@rebeloper not sure if that's the link, just takes me to a video about setting up the firebase project (ie pod installation, p list etc)

    • @rebeloper
      @rebeloper  4 ปีที่แล้ว

      I see now. You want to upload videos... That is different than images and quite long to explain. I do mentoring if you're interested and I will explain it to you step by step: rebeloper.com/hire-us

  • @liou8493
    @liou8493 4 ปีที่แล้ว

    Great Video, Just a quick question, Can you upload GIF files also to firebase? Thanks.

    • @rebeloper
      @rebeloper  4 ปีที่แล้ว

      I think so. Never tried it, but it should work.
      BTW Check out my new playlist: th-cam.com/video/KBjS6eeZ1K8/w-d-xo.html

  • @TheAlibaadshah
    @TheAlibaadshah 4 ปีที่แล้ว

    suppose i have 2 activity , 1 activity is main i made button for open 2nd activity is uploading photo? i try it more time but i can't please help me?

    • @rebeloper
      @rebeloper  4 ปีที่แล้ว

      It looks complicated: rebeloper.com/mentoring

  • @Totalrandomness2011
    @Totalrandomness2011 4 ปีที่แล้ว

    your link does not work anymore is it still on your website I can't find the source files?

    • @rebeloper
      @rebeloper  4 ปีที่แล้ว

      Hi Adam. It's here: store.rebeloper.com/rebeloper-store
      BTW take a look at my newest tutorial on WKWebView: th-cam.com/video/f3mFrWesbvM/w-d-xo.html

  • @arslankhalid2919
    @arslankhalid2919 4 ปีที่แล้ว

    hello sir, its urgent if you can reply quickly, I learned a lot from your video. but the question is that I want to upload multiple images selected from a gallery, and these are in array[UIImage] so please suggest me how to upload this array of images altogether or one by one. how can I do this?

    • @rebeloper
      @rebeloper  4 ปีที่แล้ว

      You will have to build your own image picker or use on library from GitHub. This thread will help: stackoverflow.com/questions/37166675/how-to-use-multiple-image-picker-in-ios-with-swift
      What type of app are you building?

  • @epmcj38
    @epmcj38 5 ปีที่แล้ว

    Excellent! Thanks, bro!

    • @rebeloper
      @rebeloper  5 ปีที่แล้ว

      You are welcome! Subscribe for more :)

  • @user-br4jy4ct8u
    @user-br4jy4ct8u 5 ปีที่แล้ว

    Hello, how can I find the resources for this video? in the link that you give I can't find it! So many files there! Can you please give a direct link to files!! Thank you!
    UPD:
    Already find it)

    • @rebeloper
      @rebeloper  5 ปีที่แล้ว

      Awesome. Just search with the video title.

  • @MohammedAli-fc2uu
    @MohammedAli-fc2uu 4 ปีที่แล้ว

    thanks for info but iwant the code source to run it please🙏🙏

    • @rebeloper
      @rebeloper  4 ปีที่แล้ว

      You are welcome! It's here: store.rebeloper.com/youtube-channel-resources
      Do you like SwiftUI? th-cam.com/video/zucwLZoCs8w/w-d-xo.html
      I'm going to create a Firebase - SwiftUI tutorial series soon :)

    • @MohammedAli-fc2uu
      @MohammedAli-fc2uu 4 ปีที่แล้ว

      @@rebeloper i wait realeased xcode to code with it

    • @rebeloper
      @rebeloper  4 ปีที่แล้ว

      Good idea. Betas are not that reliable, but in the meantime you can watch some SwiftUI tutorials:
      th-cam.com/video/zucwLZoCs8w/w-d-xo.html
      Will you be making apps with SwiftUI + Firebase?

  • @freebird4050
    @freebird4050 4 ปีที่แล้ว

    is there source code link?

    • @rebeloper
      @rebeloper  4 ปีที่แล้ว

      Yes, all the resources can be found here: store.rebeloper.com/youtube-channel-resources

    • @freebird4050
      @freebird4050 4 ปีที่แล้ว

      I tried to find that. but I can't so I've already built this module based on your tutorial. Anyway Thanks.

  • @kartashi
    @kartashi 5 ปีที่แล้ว

    Si desean almacenar el archivo como .jpg, solo agreguen metadata
    let metadata = StorageMetadata()
    metadata.contentType = "image/jpeg"
    imageReference.putData(data, metadata: metadata) { (metadata, err) in
    }

    • @rebeloper
      @rebeloper  5 ปีที่แล้ว

      Yes, you can store jpg files too

  • @youtub4444
    @youtub4444 3 ปีที่แล้ว

    No, not useful. You never build apps from scratch!