SwiftUI Social Media App - Firebase - Part 1 - Xcode 14 - SwiftUI Tutorials

  Рет қаралды 26,295

Kavsoft

Kavsoft

Күн бұрын

Пікірлер: 87
@melmandaragrows
@melmandaragrows Жыл бұрын
As a beginner, the extensions for vAlign and hAlign was so helpful😮
@psy3348
@psy3348 Жыл бұрын
This is absolutely this what I searching for days
@stavroschios
@stavroschios Жыл бұрын
I really want to see how we can use firebase to see people nearby something like tinder but all in firebase with geolocation
@ProgramJerol
@ProgramJerol Ай бұрын
Hi Kav, is this app playlist complete? or is there more on the pro subscription?
@christiansimbarashe
@christiansimbarashe Жыл бұрын
Awesome. Already can't wait for part 2
@30guarino
@30guarino Жыл бұрын
can't wait for 1080p lol
@Kavsoft
@Kavsoft Жыл бұрын
Now a days, KZbin is taking so much time to process it completely.Actual video quality is 4K; it’s now completely processed and available now.
@_tannerkirk9798
@_tannerkirk9798 Жыл бұрын
I’m trying to follow along, so I made the two groups view and model at 2:53, but what do you do to get that window when you hover over the “view” group?
@gisellefratianni7704
@gisellefratianni7704 6 ай бұрын
How did you set up the Cloud Firestore? mine says it's in Datastore mode and I can't find the rules tab
@kaankanbur2237
@kaankanbur2237 Жыл бұрын
Will there be features such as following and commenting?
@andrew81657
@andrew81657 Жыл бұрын
this is helping me so much man! thank you!
@MG-wj4rc
@MG-wj4rc Жыл бұрын
Need to play at 0.5 speed but amazing content ! :D
@zuuubs
@zuuubs Жыл бұрын
Your content is under rated Great work 😊
@Unexality
@Unexality Жыл бұрын
Are you using Swift UI or storyboard for xcode?
@Kavsoft
@Kavsoft Жыл бұрын
SwiftUI
@kampf_keks
@kampf_keks Жыл бұрын
Hello Kavsoft, 14:42 I get an error like "cannot find setError in Scope" Is there any idea why that happens? EDIT: I fixed it, is working now
@5522shashi
@5522shashi Жыл бұрын
will you make a video How to implement admob interstitial ad in ( swiftui ) without button in xcode
@zainl4166
@zainl4166 Жыл бұрын
@Kavsoft Thanks for this tutorial. At 23:40 when I sign in, the simulator keeps loading and never moves to the Main Page. How do I resolve this? Thanks very much
@Kavsoft
@Kavsoft Жыл бұрын
Did you see any thing in the console?
@zainl4166
@zainl4166 Жыл бұрын
@@Kavsoft yes so i saw the loading sign but it kept going on and on. it never progressed to the main view
@Kavsoft
@Kavsoft Жыл бұрын
Verify whether you’ve enabled Firebase Auth and set the proper permissions for firebase Firestore (allow read, write: request.auth != null;)
@Jasper.Jongsma
@Jasper.Jongsma Жыл бұрын
Did you ever find the solution, because I currently have the same problem!?
@ablncs
@ablncs Жыл бұрын
@@Jasper.Jongsma let me know if you find a fix for this as well.
@ziyaxservers
@ziyaxservers Жыл бұрын
does it have to do with this mark you wrote "UI Updating Must Be Run On Main Thread"
@musicc5931
@musicc5931 Жыл бұрын
hi SocialMediaApp, you use file it, where?
@cembayat8104
@cembayat8104 Жыл бұрын
I'm looking forward to part 2 😍
@CyberWu
@CyberWu Жыл бұрын
Hello teacher, can you implement this app again using SwiftUI and Pocketbase? I'm trying hard to learn from your videos. Look forward to seeing the combination of Pocketbase and SwiftUI.
@EmilScaleViral
@EmilScaleViral Жыл бұрын
great video thanks ! going to subscribe to patreon asap, is the final code u created suitable for large scale apps?
@interestingstuffforsure88
@interestingstuffforsure88 Жыл бұрын
Thank you so much for this video. Can’t wait for part 2 and the rest :D. Quick question - why do we need a download URL for photos. I’ve seen some tutorials without a download link and works fine. What’s the benefit compared to just putData and getData?
@Kavsoft
@Kavsoft Жыл бұрын
Yeah, we can use getData to get photo data from Firebase Storage, but saving the Download URL in the user's profile will make it easy to display images via AsyncImage or WebImage (from SDWebImage), thus avoiding downloading the same data multiple times throughout the app.
@interestingstuffforsure88
@interestingstuffforsure88 Жыл бұрын
Ok I understand, so even with using image cache (to make sure the same image isn’t downloaded twice), it’s still better? So do we never have to “getData” then? That’s amazing if all we need is asyncImage and never need to get data 🤯
@Aseemxan
@Aseemxan Жыл бұрын
Beautiful 🔥🔥🔥 thank you!!
@nocomments7315
@nocomments7315 Жыл бұрын
Great video, it takes me time but I'm trying to code along with you. Coming from UIKit this looks so fast... I just have one question though. Are there more rules we can create from Firebase end to add extra security? I feel having the collection name in our code is not safe...
@khaledhussien7443
@khaledhussien7443 Жыл бұрын
great work but i have a problem when I run the application (any app with swiftUi or uikit ) three times after each other the simulator freezing :)
@designckinet
@designckinet Жыл бұрын
Really nice 👍🏻. Like your video 😊
@mg_chai
@mg_chai Жыл бұрын
No doubt, you are amazing!!!
@YungCortex
@YungCortex Жыл бұрын
at 9:03 when i add the contents of the vstack to the helperview the stuff on the registration page goes blank any idea why?
@xmarano
@xmarano Жыл бұрын
I can’t have access to the « Rules » of the Firestore Database. It said me « This project is configured to use Cloud Firestore in Datastore mode. This mode is only accessible from Google Cloud Console. » what should I do ? 21:11
@xmarano
@xmarano Жыл бұрын
Oh no ok i fixed the « problem » 😂 I just recreate a project and first I do after it’s create a Firestore Database and after I setup the storage etc.. Cool 👍
@jackmurphy587
@jackmurphy587 Жыл бұрын
@@xmarano can you summarize this better please
@xmarano
@xmarano Жыл бұрын
@@jackmurphy587 Hello Jack, im really sorry I can’t remember how I did it. I tried to remember and I think (but I’m not sure) that I recreated a project and first I created in a first time the data base and after setup the storage because when I followed the steps in the video it wasn’t working (it wasn’t let me create the database). So try to do what I did. I hope it will help you 🙏 have a good day 😁
@mhacnagbani
@mhacnagbani Жыл бұрын
@@jackmurphy587 Try follow these steps in order: Create a project > Enable Auth > Enable Firestore Database > Enable Storage
@Prashant-7
@Prashant-7 Жыл бұрын
Hey Can i follow this with Xcode 13.4 ? Is there any new things of swiftui that doesn't support or I need to update to 14
@Kavsoft
@Kavsoft Жыл бұрын
Mostly yes, I guess,But in future videos, I will be using Refreshable for scrollview.Other than this, it will be mostly ok for Xcode 13.4 (iOS 15+).
@andrejkling3886
@andrejkling3886 Жыл бұрын
Thank you so much ❤
@skyorizen
@skyorizen 9 ай бұрын
bro your amazing
@danielpedraza3869
@danielpedraza3869 Жыл бұрын
great video man
@norcrowe
@norcrowe Жыл бұрын
Thank You So Much 🧡
@suricatamalandro3959
@suricatamalandro3959 Жыл бұрын
I ned help, at minute 17:37 the following errors appear: - Type 'User' does not conform to protocol 'Decodable'. - Type 'User' does not conform to protocol 'Encodable'
@Kavsoft
@Kavsoft Жыл бұрын
check enum names one of them keys must be mismatching
@ВладимирВасиленко-с6ц
@ВладимирВасиленко-с6ц Жыл бұрын
compare name "userBioLink"
@xmarano
@xmarano Жыл бұрын
@@ВладимирВасиленко-с6ц thank you guys it helped me, I had the same error but with your 2 messages I solved the problem thank you 🙏
@suricatamalandro3959
@suricatamalandro3959 Жыл бұрын
@@Kavsoft 😍
@БахтиёрМирзаитбаев
@БахтиёрМирзаитбаев Жыл бұрын
I got an error in the firestore, it says that I need to reload the page, and I did this 100 times who faced such an error write how you can fix this error thanks in advance
@toyohisakuroda8449
@toyohisakuroda8449 Жыл бұрын
I got an error in "user" page 17:36 , it said "Type 'User' does not conform to protocol 'Decodable'". How to fix this error??
@serdaronurkaradag
@serdaronurkaradag Жыл бұрын
check enum names one of them key another one keys
@fashoo1
@fashoo1 Жыл бұрын
Can you explain again
@Devsycode
@Devsycode Жыл бұрын
excuse me, when I get the image going up from zstack it doesnt seem to work. it just shows me the regular screen with space but without the image Null.
@Kavsoft
@Kavsoft Жыл бұрын
You need to add the asset Image to the name ProfileNull in the assets catalog. which I showed at 1:25
@Devsycode
@Devsycode Жыл бұрын
@@Kavsoft Oh! Thank you! I was stuck on that for some time.
@collinsmuthomi3581
@collinsmuthomi3581 Жыл бұрын
the user struct is not conforming to decodable
@Kavsoft
@Kavsoft Жыл бұрын
check enum names one of them key another one keys
@revanthcherukuri4396
@revanthcherukuri4396 Жыл бұрын
It says for me "no such module FirebaseFirestore", even though I added that package dependency
@Kavsoft
@Kavsoft Жыл бұрын
Try Import FirebaseFirestore Apart from Firebase
@revanthcherukuri4396
@revanthcherukuri4396 Жыл бұрын
@@Kavsoft I got it working, thank you.
@ayh.co.
@ayh.co. Жыл бұрын
Hello Kavsoft, 21:16 My Firebase Is Not Working, It Does Not Show Users Who Have Opened an Account, Even though I have activated Firebase, it gives an error to open an account, Why Can It Be ? Could You Help
@tomayo9136
@tomayo9136 Жыл бұрын
Same here, did you find a solution or are you stuck as well?
@andrew81657
@andrew81657 Жыл бұрын
you have to change your cloud to native
@ayh.co.
@ayh.co. 10 ай бұрын
Hi. the problem has been solved, but I don't remember how the problem was solved because it's been a long time@@tomayo9136
@ziyaxservers
@ziyaxservers Жыл бұрын
He. my project does not go from LoginView to MainView if I press the Login Button But the simulator logs say "user found" he only does not go into MainView can you please help me. o he gives this thread but I don't know what to do with it "Thread 1: EXC_BAD_ACCESS (code=2, address=0x16e6effd0)"
@andrew81657
@andrew81657 Жыл бұрын
I think you have to close your simulator, do this by pressing the little square button next to the play button tell me if this doesn't fix it I think I might have go the wrong code but try it anyway
@ziyaxservers
@ziyaxservers Жыл бұрын
@@andrew81657 no it doesn't work
@ziyaxservers
@ziyaxservers Жыл бұрын
@Kavsoft does it have to do with this mark you wrote "UI Updating Must Be Run On Main Thread"
@zainl4166
@zainl4166 Жыл бұрын
I have the exact same issue as you. Did u resolve it ?
@ziyaxservers
@ziyaxservers Жыл бұрын
@@zainl4166 no I still didn't fix it. @kavsoft does not respond
@bijayaadhikari442
@bijayaadhikari442 Жыл бұрын
Quality till 360p on live??
@Sunalamye
@Sunalamye Жыл бұрын
wait
@Kavsoft
@Kavsoft Жыл бұрын
Now a days, KZbin is taking so much time to process it completely.Actual video quality is 4K; it’s now completely processed and available now.
@shahmirzali_huseynov
@shahmirzali_huseynov Жыл бұрын
Post updates not real-time I see
@Kavsoft
@Kavsoft Жыл бұрын
Post updates happen on real-time ; I demonstrated this in the video. When a user likes or dislikes a post, other devices instantly update. Additionally, the post in the other device is automatically deleted when one post is deleted. Refresh will update with new postings, similar to Instagram.
@shahmirzali_huseynov
@shahmirzali_huseynov Жыл бұрын
@@Kavsoft actually likes wasn't real time, but thanks for the tutorial. No problem
@holygent
@holygent Жыл бұрын
Too fast
@rishabhgulecha4272
@rishabhgulecha4272 Жыл бұрын
the build succeeds but the preview shows failed to build LoginView.swift what should I do?
@Kavsoft
@Kavsoft Жыл бұрын
Previews won’t work with firebase properly!
Friends make memories together part 2  | Trà Đặng #short #bestfriend #bff #tiktok
00:18
Try Not To Laugh 😅 the Best of BoxtoxTv 👌
00:18
boxtoxtv
Рет қаралды 7 МЛН
«Осень». Самая большая загадка Windows XP
14:36
Девять десятых
Рет қаралды 1,1 МЛН
Getting started with Firebase on Apple platforms
14:33
Firebase
Рет қаралды 60 М.
How I build Apps that PRINT ($30k/month Micro SAAS)
22:51
Steven Cravotta
Рет қаралды 385 М.
Build a SwiftUI chat app with Firestore from scratch
48:47
DesignCode
Рет қаралды 55 М.
Connect Firebase to Xcode: A Step-by-Step Tutorial | Firebase Bootcamp #1
21:07
Friends make memories together part 2  | Trà Đặng #short #bestfriend #bff #tiktok
00:18