Video Feed With SwiftUI + Firebase | Async/Await

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 พ.ค. 2023
  • In this video we'll dive into how to upload/download videos with SwiftUI & Firebase, and how to display videos in a feed!
    🖥️ RESOURCES
    🔴 Become a member for lifetime access to source code:
    www.stephancodes.com/blank-page
    🖥️ COURSES & SOURCE CODE FILES
    👉 Pro Courses:
    www.stephancodes.com/videos
    👉 iOS App Templates:
    www.stephancodes.com/shop
    👉 FREE UBER SwiftUI Course
    • 🔴 Let's Build UBER wit...
    👉 FREE Crypto SwiftUI Course
    • Free iOS Development C...
    👉 FREE Twitter SwiftUI Course
    • 🔴 Let's Build Twitter ...
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @Memes_uploader
    @Memes_uploader ปีที่แล้ว +4

    You're my sensei 🙏, thank you so much

  • @michamichalik9719
    @michamichalik9719 ปีที่แล้ว

    Legend, I've been trying to implement it in my app for ages.

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

    if you have a problem getting the downloaded videos into the simulator, you might have to move them from downloads to a different folder before dragging them in. Not sure why but that worked for me.

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

    Love when you create videos about stuff no one else did. Really appreciate the latest uploads. Gonna buy diamond membership soon!!
    Btw I noticed the messenger course at the end, damn man so much stuff to learn 🙏🙏

  • @worldofqurani1364
    @worldofqurani1364 ปีที่แล้ว

    I mean I think im in love with your explanations

  • @daco9464
    @daco9464 2 หลายเดือนก่อน

    Is it possible to make a reactive caching mechanism for videos like with Kingfisher for images to save bandwidth of the storage?

  • @ProffesorGomez
    @ProffesorGomez 2 หลายเดือนก่อน

    Bro you for got to add the id parameter to the FOREACH function.

  • @Lvoonok
    @Lvoonok ปีที่แล้ว

    Love your videos 🙏
    Which one would you prefer for backend data storage, iCloud or Firebase. The reason why I’m asking is that iCloud could be essentially free if used properly. Thank you

  • @sukumarreddy6085
    @sukumarreddy6085 ปีที่แล้ว

    can we except any full pledge course?

  • @melpacheco9288
    @melpacheco9288 ปีที่แล้ว

    can you make a mini player interaction like spotify

  • @user-wv6ch4zt2y
    @user-wv6ch4zt2y หลายเดือนก่อน

    I followed the steps, I can get my video uploaded but the video doen't displayed on the screen, does anyone know what is wrong

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

    Great content! Can you do an Airbnb clone with swift and firebase 🙏

  • @ngebril590
    @ngebril590 ปีที่แล้ว

    pls more!!!

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

    Is it part1?

  • @sabbirhossain3763
    @sabbirhossain3763 ปีที่แล้ว

    hey! i receive this error "2023-05-20 00:22:31.084129+0600 SwiftUIVideoFeed[39564:1081479] HTTP/2 terminating broken Connection 4, last success 255417s ago, consecutive failures 11".

  • @DominicBrownLondon
    @DominicBrownLondon ปีที่แล้ว

    Great video. NB for me self.videos = snapshot.documents.compactMap({ try? $0.data(as: Video.self) }) was not working ?

    • @navinc99
      @navinc99 11 หลายเดือนก่อน

      a quick fix is to install the exact firebase version in the video - 10.9.0
      idk how to do it with the latest version of firebase tho

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

    When i was writing a code func fetchVideos() async throws { self.videos = snapshot.documents.compactMap({ try? $0.data(as: Video.self(videoUrl: videos) })
    } it didn’t work.

    • @DominicBrownLondon
      @DominicBrownLondon ปีที่แล้ว

      I had the same problem. i had to do it manually
      for doc in snapshot.documents {
      let video = Video(videoUrl: doc.data()["video_url"] as! String)
      print(video)
      self.videos.append(video)
      }