🔴 SwiftUI Threads Clone | iOS 17 | async/await | Firebase | 2023

  Рет қаралды 35,805

AppStuff

AppStuff

Күн бұрын

Let's build Threads with SwiftUI!
🔴 Become a member to access Exclusive Content & Source Code :
www.stephancodes.com/plans-pr...
🔴 SwiftUI Threads Pro Course:
appstuff.teachable.com/p/swif...
🔴 SwiftUI Threads Pro Source Code:
www.stephancodes.com/product-...
🔴Async/Await:
• How to Network Like A ...
🔴 FREE Instagram Course with SwiftUI:
• 🔴 Build Instagram With...
🔴Navigation Stacks:
• This NEW SwiftUI Featu...
🔴@State vs @Binding video:
• NEVER Confuse @State v...
🖥️ ONLINE COURSES & APPS
👉 Pro Courses:
www.stephancodes.com/videos
👉 FREE UBER SwiftUI Course
• 🔴 Let's Build UBER wit...
👉 iOS App Templates:
www.stephancodes.com/shop
👉 FREE Twitter SwiftUI Course
• 🔴 Let's Build Twitter ...
Chapters
00:00 - Intro
01:02 - App Demo
03:26 - Project Setup
06:14 - Authentication UI
20:56 - Tab Bar Setup
31:42 - Feed View UI
42:52 - Explore View UI
52:40 - Profile View UI
1:12:47 - Edit Profile UI
1:23:45 - Create Thread UI
1:35:34 - Firebase Setup
1:47:04 - Creating A User
2:00:53 - Log in / Log out
2:16:47 - User Service & Data Model
2:36:05 - Updating User Profile
2:43:53 - Explore View Updates
2:57:47 - Profile Navigation & Refactor
3:15:56 - Edit Profile Photo
3:26:09 - Upload Images to Firebase Storage
3:44:05 - Load User Images
3:58:18 - Creating A Thread
4:15:21 - Fetching Threads For Feed
4:31:31 - Fetch User Threads
Social Media:
Instagram - @stephan.dowless

Пікірлер: 75
@brandonhopkins3438
@brandonhopkins3438 10 ай бұрын
What I love about your content is that your code is always organised and there's just no bull****. Breaking down real apps into 5 hours of content is also my favourite thing to watch. It takes the apps off the pedestal, and you realise you can make them too. It's empowering. Please do more!
@iLoveAppl3947
@iLoveAppl3947 13 күн бұрын
be aware of bad coding practices. He is using singletons all over his project and also the "Pro" content for this course available on his website is also continuing using singletons. This is a very bad practice and can influence your coding career also you can be rejected in coding interviews if they see you have a habit of using singletons. Be aware! I don't know why he didn't update this crap
@iLoveAppl3947
@iLoveAppl3947 13 күн бұрын
In case some people don't know, a singleton looks like this : static let shared = ProfileViewModel().
@911lalala
@911lalala 10 ай бұрын
What a video! Thank you for fantastic job It's phenomenal
@AllenThomasVarghese
@AllenThomasVarghese 8 ай бұрын
Excellent content. I love the focus on code organisation and structuring content
@efecetin8475
@efecetin8475 9 ай бұрын
I love it how you always show us the latest functionalities
@SanusiAdewale
@SanusiAdewale 10 ай бұрын
Thanks a lot!! really appreciate!
@rparham1997
@rparham1997 10 ай бұрын
Great content!
@chrisv8341
@chrisv8341 10 ай бұрын
Thanks bro for this ! I just starting out to learn Swift , this really helps me out 🙏🙏
@morelogankoshenka
@morelogankoshenka 4 ай бұрын
this is super valuable - thank you for the time & effort that went into it!
@kwiky5643
@kwiky5643 5 ай бұрын
Thanks for not overcomplicating stuff like 99% of other tutorials on KZfaq
@appstuff5778
@appstuff5778 5 ай бұрын
I always try to follow KISS. Keep It Simple Stupid
@cad3717
@cad3717 Ай бұрын
Some improvements: I've just noticed at time 27:30 that there is no need to set onAppear since tabView selection already takes care of that. Also, swiftui sets a .fill variant as the default value so in Image system name we can just leave it as systemName: "house"
@ipeerless6717
@ipeerless6717 10 ай бұрын
what a man! God bless
@Designguidetv
@Designguidetv 9 ай бұрын
hey just a shoutout, I like how you are able to simply explain the build of a full app, bringing together a lot of different parts and tips. Just amazing.
@marcoalonsoiosdev
@marcoalonsoiosdev 10 ай бұрын
Thank You!
@Pulpitoclips
@Pulpitoclips 10 ай бұрын
Thanks bro your the best !
@brsaca
@brsaca 9 ай бұрын
I thoroughly enjoyed this tutorial! I've just completed the video and I must say, the learning was fantastic. The project's structure is refreshingly simple and tidy. The method of segregating services with view models aligns perfectly with clean architecture principles. I'll definitely be keeping an eye out for your upcoming clones. I gained a wealth of knowledge from this one, and I'm genuinely excited. Thanks a ton for sharing!
@ghumtoboom1254
@ghumtoboom1254 10 ай бұрын
Giving this valuable work for is incredible. This is the best effort to grow iOS community..
@3moalsokni502
@3moalsokni502 Ай бұрын
I love how you making things looks simple af
@Aymen_Raeed
@Aymen_Raeed 9 ай бұрын
Damn man this video is so good I learned so much from it you the best man ❤❤
@vidz_24
@vidz_24 6 ай бұрын
Following you as you build this Threads clone as well as the AirBnB clone gives me confidence to design and develop my own app from the ground up all the way to the publishing stage, thank you .
@BABEENGINEER
@BABEENGINEER 3 ай бұрын
I watched the whole thing!!!!!! over the course of a few days ✨✨✨✨ So good, thank you!!!!
@kndkillar2907
@kndkillar2907 9 ай бұрын
Genuinely so impressed with the explanations! Took me a while to understand singletons and their uses. Your videos are amazing honestly. Been coding for 1 year and a half now and I’ve come to realise most of the code I utilise is based off the learning from your videos. P.s. I now also understand combine and how it can be used for the current user and user session! Thank you for this
@sandipclips5792
@sandipclips5792 6 ай бұрын
Great tutorial buddy!!! Love the way you explained the topics in plain easy language. This is my 3rd app that I've built within last 5 days.. starting with a basic UI app with some logic, then a War card game and now just finished this one with all the running features and fixing bugs. This type of content needs more views and likes!! This won't be possible without your help man! I'm 20yr's now, a tech geek who loves web3 to solve real world problems. Let's connect buddy! whenever possible :) keep up the good work. Love from India
@adelnoppert370
@adelnoppert370 8 ай бұрын
this is so damn excellent
@imam_robani
@imam_robani 3 ай бұрын
That's cool, I learned a lot. I hope there are more tutorials like this but with rest API integration, for example authentication which has a bearer token and how to handle it
@munavarpm5342
@munavarpm5342 10 ай бұрын
Hit to TOP
@petrosyanserge
@petrosyanserge 5 ай бұрын
Brilliant tutorials on SwiftUI! You're doing a great job explaining pretty complex concepts easily. So thank you very much for your work! I only wanted to add one thing about the Singleton pattern that you use for services. If we want to properly implement this pattern, it's a good idea to make the designated initializer private in order to make it impossible to construct an instance of that class. Thus we prevent the possibility to create an instance of that class and make it sure that we can only access those methods and properties through the static shared property.
@appstuff5778
@appstuff5778 5 ай бұрын
You are right! I’ve actually started to move away from the singleton pattern. I find dependency injection to be much better
@useruseruuseruuseruuseruuser
@useruseruuseruuseruuseruuser 4 ай бұрын
Wow🔥
@user-bf4vk4de4w
@user-bf4vk4de4w 10 ай бұрын
Minor Improvement In edit profile The rectangle is rounded corners but the white background is coming out of it As seen in simulator @ 1.23.23
@navedkhan6643
@navedkhan6643 6 ай бұрын
See you on Monday
@midnightappointment
@midnightappointment 9 ай бұрын
Can you create a video wherein the authentication and backend is cloudkit please!!
@swayamrustagi7476
@swayamrustagi7476 3 ай бұрын
Can we say that this is production level code? Also Stephen please upload regarding unit testing and everything. Doing god's work btw! thanks😍
@ShredzZ
@ShredzZ 10 ай бұрын
As you are experienced iOS dev, I have a question, is it better to be freelancer or just work in company?
@user51252
@user51252 7 ай бұрын
Amazing! If I only want to fetch the currently logged in user's threads to the feed, how could I do that? Is there a way to come in contact with you for some assistance?
@MG-wj4rc
@MG-wj4rc 2 ай бұрын
You should change your nickname to AwesomeStuff !
@eddjoseph1130
@eddjoseph1130 2 ай бұрын
If we wanted onboarding preview pages before the login and sign-up pages, in which folder would we place the pages and how would we route it?
@marios273
@marios273 8 ай бұрын
Thanks! do you have a tiktok or spotify tutorial?
@appstuff5778
@appstuff5778 8 ай бұрын
I am currently finishing up a TikTok clone. Source code will be available on my site this week! Complete video tutorial will be available next month
@saim4556
@saim4556 19 күн бұрын
hi thank you for the video i am new so i have a question why you are using static width and height ? there should a way for dynamic width, height or font size. i have worked on real project using react native they provide a library for dynamic style.
@saim4556
@saim4556 15 күн бұрын
how can i enable bracket pair colorizer in xcode.?
@rohan_ray
@rohan_ray 5 ай бұрын
28:38, we don't need to do selectedTab == 0 ? "house.fill": "house" as setting a different symbol variants in environment will do it automatically.
@allthingswaffled9680
@allthingswaffled9680 6 ай бұрын
I noticed we can't use the PreviewProvider extension with the new #Preview in XCode 15. Happen to know a way around that?
@BeyondLimitations_
@BeyondLimitations_ 5 ай бұрын
A WAY THROU use the old method to do preview in ios 16 for example replace your preview in UserCell with the code below struct UserCellView_Previews: PreviewProvider { static var previews: some View { UserCellView(user: dev.user) } } it work like magic and in case you cant do something in ios 17 try to use the method in ios 16 or 15 if, it not totally depreciated, just for learning purpose
@code_with_emily
@code_with_emily 10 ай бұрын
Thanks so much for the awesome tutorial - I'm learning a lot! :) I'm still new to programming/swift and trying to wrap my head around best practices with passing data around in a swiftui project. Is static let shared = UserService a singleton? Everything I've read seems to emphasize staying away from singletons/shared instances and to only use dependency injection or environmentobjects. In large-scale real world apps is using a shared instance like this just as optimal as dependency injection? Your explanation in the video for using a shared instance totally made sense, I'm just confused why everything seems to say not to use them in the real world. Is there a reason a shared instance is optimal here despite what I seem to have read about using them?
@appstuff5778
@appstuff5778 10 ай бұрын
There’s a time and place for singletons, and they solve some problems, but create others. Like any pattern, there’s benefits and drawbacks. Ideally, you would use dependency injections instead. Apple doesn’t recommend excessive use of environment objects or singletons. DI is a more testable, scalable and maintainable pattern. It’s just a lot more work
@code_with_emily
@code_with_emily 10 ай бұрын
@@appstuff5778 Thanks for your input! Do any of your videos or paid courses show how to implement dependency injection?
@cesmorf5398
@cesmorf5398 8 ай бұрын
if i know it all , can i be offered 100->200k usd ?
@98kag
@98kag 9 ай бұрын
Shouldn't we delete the old profile image when the user uploads a new one? How would we do it? thanks a lot, this tutorial has been extremely useful!
@appstuff5778
@appstuff5778 9 ай бұрын
Yes you should. Topics like that are covered in the Pro version of the course. Link is in the description!
@a.arnaavv
@a.arnaavv 10 ай бұрын
has the complete pro course been released??
@appstuff5778
@appstuff5778 10 ай бұрын
Yes! Link is in description
@mario_luis_dev
@mario_luis_dev 8 ай бұрын
@@appstuff5778what’s the difference between this free offering and the paid pro course?
@lina-xr6tv
@lina-xr6tv 20 күн бұрын
3:44:00
@cryptgames
@cryptgames 9 ай бұрын
Hey there AppStuff! Just wondering how I can add a verification checkmark for it. Unsure if it's in the video but yeah. Looking forward to hearing from you.
@pardipbhatti9943
@pardipbhatti9943 10 ай бұрын
Can you create one course without firebase, like using rest api, for auth
@danielcreagh3504
@danielcreagh3504 8 ай бұрын
Calling them View Model's is confusing. View Models are supposed to define the logic between the data being represented in the view. Having asynchronous network calls in a view model does not make sense. something like "network interface" or "data provider" would be more appropriate, especially when it comes to writing tests for them.
@appstuff5778
@appstuff5778 8 ай бұрын
You say tomato, I say tomato
@kamertonaudiophileplayer847
@kamertonaudiophileplayer847 9 ай бұрын
Why do you need a login? iPhone already knows who you are, just open the app and use! Easy?
@xVinoz
@xVinoz 6 ай бұрын
You wake up that day and proposed to say some dumb shit for the day right?
@kamertonaudiophileplayer847
@kamertonaudiophileplayer847 6 ай бұрын
@@xVinoz Wrong, but your response makes me proud of you! We need more people like you, seriously.
@iLoveAppl3947
@iLoveAppl3947 3 ай бұрын
looks like you are smarter than Apple
@kamertonaudiophileplayer847
@kamertonaudiophileplayer847 3 ай бұрын
@@iLoveAppl3947 A nice sarcasm. Sure, you are very smart too.
@Nick-zw7gg
@Nick-zw7gg 10 ай бұрын
So do people really get paid 200k just for this?! That's crazy!
@appstuff5778
@appstuff5778 10 ай бұрын
Man if it was that easy you should go get a job making 200K now!
@kndkillar2907
@kndkillar2907 9 ай бұрын
Looks like they don’t realise how long it actually takes to learn all this haha
@cesmorf5398
@cesmorf5398 8 ай бұрын
i know it all , can i be offered 200k usd @@kndkillar2907
@designckinet
@designckinet 10 ай бұрын
Woow😮
터키아이스크림🇹🇷🍦Turkish ice cream #funny #shorts
00:26
Byungari 병아리언니
Рет қаралды 28 МЛН
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 2,5 МЛН
버블티로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 96 МЛН
🔴 NEW SwiftUI TikTok Clone | iOS 17 | Xcode 15
1:59:38
AppStuff
Рет қаралды 15 М.
Swift API Calls for Beginners (Networking) - Async Await & JSON
25:35
This NEW SwiftUI Feature Is AMAZING | Navigation Stacks
20:05
🔴 Let's Build Tinder with SwiftUI | iOS 17 | Dating App
3:44:05
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 4,8 МЛН
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33
Ремонтяш
Рет қаралды 312 М.