Want to learn iOS development with Swift, SwiftUI and more modern frameworks? Then this is the channel for you!
I have an extensive series about WidgetKit and another about everything that's getting added to SwiftUI over the years. PLEASE let me know if you have video suggestions!
Do you want to sponsor a video? Get in contact via the email below.
How can I use the multi-targeting feature in Xcode to manage multiple restaurant apps within a single project? I want to share common code and resources while customizing specific aspects for each restaurant. Can you provide a step-by-step guide on how to set this up?
Great tip 🙏👍👍 Yes I always love adding methods to certain arrays. Another way of writing it is: extension Array where Element == HealthStatus { } This is called *generics*
Great content! Just a small suggestion: it would be even better if the focus was more on the screen code with fewer transitions. Also, keeping your photo in a small circle in the corner works well. Thanks for the valuable insights!
does it work If I declare app intents in my cocoapods. Haven't been able to figure that out, yet. none of the documnetations talks about not having it included in main target
Hey I've been trying to use this with NSPersistentCloudKitContainer and with a watchOS companion app. Somehow this is not working. Would love to see an example somewhere
hi do you know if there is a way to track a specific items progress as it passes thorugh a scroll view? so for instance in a scrollview + hstack, when an item enters the supposed value would be 0.0 and as we scroll across and the item moves to the left edge of the screen, the value would be 1.0 indicating the item has passed?
Thank you very much - I was struggling with the version number as I used flutter and had to update the versions in there - then the archive updated the version number. Absolutely awesome video - thank you again
It would be good to check out how this would work for success responses (code 200…299) that do not give us a response body (example: code 204, no returned JSON) :)
The author did not discuss the topic with two versions of the application; usually during development two applications are released at once, release and debug. I would like to hear how to work in this case
Explain why? And how you want to write a bunch of business logic in View only? View only is okay if you have a few Views with a small amount of @State/@Binding and some small functions. But it makes the code extremely complex if you have a lot of variables, functions, model structs etc. in one and especially in many view, wich business logic is even connected to each other. So it makes sense to use MVVM or at least MVC!
And how can i add a navigation title for the tab view? Because when i add a NavigationView, the sidebarAdaptable doesnt work... because my app works in ios and ipados, but ipados i want to add the sidebar adaptable, do you have any suggestion?
Some overlayed code snippets would have gone a long way toward explaining the differences between MVVM and View-only. I'm 7 minutes in, and I still don't really follow what's going on.
Is there currently a way in iOS 18 to hide TabSection headers in the TabBar view while keeping them visible in the Sidebar view and, importantly, while still showing the tabs themselves in the TabBar.
Never mind, I was able to use isTabBarShowingSections Environment Value. although I would much appreciate a tabSectionHeaderVisibility(.sidebar) modifier instead of using a if statement.
I'm quite new to swift and creating apps etc. I've made an app and it works (just a simple reminders app) but I'm struggling to get it to work with widgets. I've followed the widget part of the tutorial and there aren't any errors, but when running the app if I add a new reminder it doesn't update in the widget. I'm unsure of how I'm meant to get it to update once I add new reminders. Any idea how to do this?
Hey there! Good job working on your first app. I have a video on refreshing widgets in my WidgetKit playlist - this is probably what you're looking for :D
I followed every step and it only works the first run of creating the App group. I am using a Bool instead of String but as I said, only the first time I start the simulation it works fine. Did you face similar problem in the past?
WIdgetKit debugging is hard, as there are several issues with widgets on iOS right now :/ So sometimes this happens, and you can't do much about it, unfortunately...
I believe it currently doesn't have any UI impact outside of Menus. But you could use this for structural/code-reading purposes. But as always, this might change in future releases.
This is a good example! I did learn recently however that although this modifier will work on most things like List and NavigationStack, it does not work on some things like HStack or VStack.