How to build an iOS Streaks App and Widget

  Рет қаралды 15,127

CodeWithChris

CodeWithChris

Күн бұрын

Пікірлер: 24
@CodeWithChris
@CodeWithChris 6 ай бұрын
👋 Our "Launch Your First App" program will help you build up your iOS skills to publish your very own feature rich app even if you’re a beginner starting from scratch. cwc.to/youtubeoffer
@devn9529
@devn9529 24 күн бұрын
Thank you for sharing. love it!
@danielcrompton7818
@danielcrompton7818 5 ай бұрын
Hey Chris a tip with the autocomplete: any time you want to toggle it on/off (with cursor in the correct place eg. StrokeStyle(| press ESC
@alinazhusupbekova9852
@alinazhusupbekova9852 5 ай бұрын
Thanks for the tutorial! Could youmake a video about getting user location on widget interaction (e.g. button tap)?
@balleraydin
@balleraydin Жыл бұрын
my app group container is staying red in signing and capabilities
@SuperWombus
@SuperWombus Жыл бұрын
Thanks for this Chris! Got everything working except for the AppIntent at the end to increment the streak count when tapping on the widget. When I tap on the widget it just loads the full app. I’m gonna circle back though and confirm I didn’t miss anything
@CherryKing414
@CherryKing414 Жыл бұрын
Me too. How to fix.😂
@CherryKing414
@CherryKing414 Жыл бұрын
I solved it. like this Button(intent: AppIntent()) { ... } // If has AppIntent(),tap on the widget not loads the full app.
@reactnative4749
@reactnative4749 8 ай бұрын
Thanks
@patrikurban5261
@patrikurban5261 Жыл бұрын
in ios 17 containerBackground not working for me
@punchafeng6268
@punchafeng6268 Жыл бұрын
It should be working. XCode generated containerBackground() call for you, so you must delete it first.
@bobinou
@bobinou Жыл бұрын
did you get it working?
@AyushiDadarwala
@AyushiDadarwala 8 ай бұрын
Hello Chris I want to have multiple widgets under same target. Can you help me with the same?
@ProVokeGames
@ProVokeGames Жыл бұрын
I have a decent understanding of UIKit having taken Angela Yu's course 3 years ago. I've recently got that itch to get back into Swift and try to dive deeper into SwiftUI now that it's had time to mature. Do you think it's worth delving deep into SwiftUI to try and land that work from home job as a SwiftUI dev with some pretty basic UIKit understanding (Classes, structs, API's etc). Or would mastering UIKit and then move onto SwiftUI be what I should be focusing on? I'm just trying get that dev job in the next 3 months really diving into this and am worried I might kinda waste my time when I could be focusing on the future of SwiftUI. Any insight would be fantastic. Thank you Chris and keep up the great videos!
@VikramSingh-dt1yd
@VikramSingh-dt1yd Жыл бұрын
I'm not Chris, but I thought I'd share what I would do in your situation (I also started with Angela Yu's course and am now a full time iOS Engineer at Lyft!). If your top priority is landing an iOS Developer job, I would start learning SwiftUI just because it's another skill on your resume (and will open many more doors than mastering UIKit would). Most of the iOS community agrees that SwiftUI will become a large part of the future of iOS development (if not already). Mastering UIKit now would certainly prove useful, but those skills will inevitably become less and less valuable as the technologies begin to shift (in this case, it is better to start to learn technologies on the uprise imo). With that said, having UIKit skill/experience is very important since it is an imperative framework (where SwiftUI is declarative). If you don't understand what this distinction means, I implore you to look into it (it may even help you in an interview one day). Even if SwiftUI takes over, UIKit will pop up now and again, so make sure that you are still skilled with the UIKit fundamentals.
@CodeWithChris
@CodeWithChris Жыл бұрын
In our opinion, majority of companies (like 95% of em) still have their apps codebase written in UIKit, and a few (about 30%) are slowly transitioning into SwiftUI. The reason that there is a friction to adoption is that companies wanted to cover as much userbase as possible, and to do that they have to support older versions of iOS. You're also correct that SwiftUI is the future, and that Apple is clearly pushing it on every WWDC, but each improvement they do to SwiftUI is only available to the iOS version coming out that year, and it isn't backwards compatible to older versions of iOS, which is why companies can't easily make the transition or simply adopt SwiftUI at 100% of their codebases. So your goal of refreshing your UIKit knowedge is on track if you wanted to get employed as a developer. If you land a job, that may be the best time to learn SwiftUI unless the position specifically requires SwiftUI knowledge right off the job posting. - Pat
@EmanNollase
@EmanNollase Жыл бұрын
noob question here, is the widget deployed along with the app in the appstore?
@CodeWithChris
@CodeWithChris Жыл бұрын
Hello @EmanNollase Yes, when you deploy your app to the App Store, the widget comes along with it. The widget system uses the same easy WidgetKit API across various environments such as the Home screen, Lock screen, StandBy mode on iPhone, Smart Stack on Apple Watch, and desktop on Mac, allowing your widget to be automatically adaptable to these different locations. So, when you publish your app to the App Store, the widget included in your app will be deployed along with it. The viewers of your widget will depend on the device they are using, and the context in which they choose to use it. Resource: Bring widgets to new places [developer.apple.com/videos/play/wwdc2023/10027/] --Joash
@EmanNollase
@EmanNollase Жыл бұрын
@@CodeWithChris thanks...i am planning to add widget to the app i am currently developing..thanks for the tutorial!
@CodeWithChris
@CodeWithChris Жыл бұрын
Wishing you the best of luck on your app, @EmanNollase! --Joash
@geoffreyh9635
@geoffreyh9635 Жыл бұрын
😠 *Promosm*
@designckinet
@designckinet Жыл бұрын
Nice job 👍
@CodeWithChris
@CodeWithChris Жыл бұрын
Thank you! Cheers! - Pat
How to Make an App in 8 Days (2024) - Full Walkthrough
3:00:49
CodeWithChris
Рет қаралды 906 М.
路飞做的坏事被拆穿了 #路飞#海贼王
00:41
路飞与唐舞桐
Рет қаралды 16 МЛН
А я думаю что за звук такой знакомый? 😂😂😂
00:15
Денис Кукояка
Рет қаралды 6 МЛН
How to Build a Widget in Swift with WidgetKit
50:23
Sean Allen
Рет қаралды 67 М.
How to Make an App - Lesson 1 (2024 / SwiftUI)
27:21
CodeWithChris
Рет қаралды 456 М.
I Made an iOS App in MINUTES with This AI Tool!
13:20
Creator Magic
Рет қаралды 359 М.
How to Find Winning App Ideas ft. Steve Young
32:46
CodeWithChris
Рет қаралды 34 М.
Play: The Secret Weapon for iOS Devs & Designers
10:12
Sean Allen
Рет қаралды 36 М.
iOS 18.1 Settings To Turn OFF Now! (Important!)
18:29
Payette Forward
Рет қаралды 4,3 МЛН
How To Work With Any API (API Tutorial using URL Requests)
27:07
CodeWithChris
Рет қаралды 126 М.
How is this Website so fast!?
13:39
Wes Bos
Рет қаралды 1,1 МЛН