Тёмный
Flo writes Code
Flo writes Code
Flo writes Code
Подписаться
Join me & learn SwiftUI!

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.
ControlGroup & ButtonRole in SwiftUI Menu
2:38
2 месяца назад
SidebarAdaptable in iPadOS 18
3:49
2 месяца назад
@Previewable in Xcode 16 Previews
1:38
2 месяца назад
Zoom/Hero Navigation Transitions in iOS 18
2:16
2 месяца назад
Translation Framework in iOS 18
5:20
2 месяца назад
Horizontal Layouts on macOS (SwiftUI)
5:04
3 месяца назад
Stop using GeometryReader in SwiftUI
4:27
4 месяца назад
WidgetKit Masterclass 2024
2:29:03
4 месяца назад
Snap to Scroll in SwiftUI (iOS 17+)
3:44
5 месяцев назад
Refresh SwiftUI View Programmatically
4:44
6 месяцев назад
The BEST Way to Build an App
6:29
9 месяцев назад
Support Shortcuts & Siri with AppIntents
2:23
10 месяцев назад
VIM: A new SwiftUI Architecture for iOS 17
3:37
11 месяцев назад
Introduction to TipKit for iOS 17
11:47
Год назад
Комментарии
@danielcrompton7818
@danielcrompton7818 3 часа назад
I either use .constant(value) or normal @State var …….. So why should I use the @Previewable? It still does not make sense
@alibayat3884
@alibayat3884 2 дня назад
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?
@danielcrompton7818
@danielcrompton7818 8 дней назад
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*
@easybusinessou
@easybusinessou 13 дней назад
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!
@jonasekstrom2449
@jonasekstrom2449 13 дней назад
Great!
@parthstellar1763
@parthstellar1763 16 дней назад
Can we have custom images in Control Center? i tried but aint working for me
@HUSAMSALEH
@HUSAMSALEH 17 дней назад
hey great video, how can i open\close or show\hide the menu bar item it self with shortcut or command, like i mean the app it self ?
@jlambert12013
@jlambert12013 19 дней назад
Wish I would have ran across this video a long time ago mainly because “.gradient” would have saved me so much time.
@sajalkaushik5929
@sajalkaushik5929 22 дня назад
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
@blahblah-rn1ts
@blahblah-rn1ts 23 дня назад
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
@cargoshorts5666
@cargoshorts5666 23 дня назад
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?
@will.gallegos
@will.gallegos 26 дней назад
Can’t you use material foreground style?
@NavpreetKailay
@NavpreetKailay 27 дней назад
Thanks
@user-io8gm6gh8f
@user-io8gm6gh8f 27 дней назад
nice idea but not usefull when you try to support ios 15-16=(
@nickdalts
@nickdalts 28 дней назад
I had absolutely no idea about that autocompletion trick, thanks!
@GaryvandenHeever1
@GaryvandenHeever1 29 дней назад
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
@1987alejandroivan
@1987alejandroivan Месяц назад
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) :)
@ZeroTorySeats
@ZeroTorySeats Месяц назад
Is there a way to show a pull-out sidebar on iOS?
@jeremymeissner7603
@jeremymeissner7603 Месяц назад
Hey! I wanted to try your project on my machine but the GitHub project is not up to date! it stopped at lesson 3. Can you update it please? Thank you!
@danielcrompton7818
@danielcrompton7818 Месяц назад
Great video, keep ‘em coming!
@RadikKhaziev
@RadikKhaziev Месяц назад
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
@itsmichaldood
@itsmichaldood Месяц назад
This was super useful ! Thank you again
@danielcrompton7818
@danielcrompton7818 Месяц назад
Fantastic, so how does the simulator show sensory feedback or will I need to run the app in my real iPhone to see it?
@nikichankov
@nikichankov Месяц назад
Can we upload it first for testing , in TestFlight , and after the test then to production ?
@FloWritesCode
@FloWritesCode 29 дней назад
Yup! A video on uploading to Testflight is coming soon too.
@daco9464
@daco9464 Месяц назад
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!
@denisk3852
@denisk3852 Месяц назад
Thank you bro!
@vishal-val
@vishal-val Месяц назад
thank you for helping your video
@martygo
@martygo Месяц назад
Great!
@michael_mei
@michael_mei Месяц назад
Those are great new features to know and use. Thank you.
@DraccoStudio
@DraccoStudio Месяц назад
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?
@Blozoozozoz
@Blozoozozoz Месяц назад
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.
@sudebsarkar21
@sudebsarkar21 Месяц назад
really awesome
@zanesabbagh6930
@zanesabbagh6930 Месяц назад
Phenomenal content. So clear.
@gerardgomez5987
@gerardgomez5987 2 месяца назад
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.
@gerardgomez5987
@gerardgomez5987 2 месяца назад
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.
@gerardgomez5987
@gerardgomez5987 2 месяца назад
That did not work
@oleh2296
@oleh2296 2 месяца назад
oh no, one more architecture. let me guess, it's better than all previous known
@irwanclark3387
@irwanclark3387 2 месяца назад
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?
@FloWritesCode
@FloWritesCode 2 месяца назад
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
@irwanclark3387
@irwanclark3387 2 месяца назад
@@FloWritesCode Ahh thanks! Your tutorials have been really helpful in getting everything working.
@user-gx3tl5yi8i
@user-gx3tl5yi8i 2 месяца назад
Thank you! I think your WidgetKit tutorials are the best on youtube😄
@FloWritesCode
@FloWritesCode Месяц назад
Glad you like them!
@justmytraining4190
@justmytraining4190 2 месяца назад
thanks, very useful for me
@FloWritesCode
@FloWritesCode Месяц назад
You are welcome
@DianaBrik
@DianaBrik 2 месяца назад
Thank you so much for this video! Very helped😊
@FloWritesCode
@FloWritesCode Месяц назад
Glad it was helpful!
@da6410
@da6410 2 месяца назад
Thank you!
@FloWritesCode
@FloWritesCode 2 месяца назад
You're welcome!
@Algorithmswithsubham
@Algorithmswithsubham 2 месяца назад
Sir can you give me a clear roadamap on how I can learn ios development in 2024 , or please make a video on it ❤
@ashenone5774
@ashenone5774 2 месяца назад
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?
@FloWritesCode
@FloWritesCode 2 месяца назад
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...
@didgeoridoo
@didgeoridoo 2 месяца назад
Also available in iOS 17!
@osamamukhtar30
@osamamukhtar30 2 месяца назад
Amazing, I was looking for something like this for some time.
@boqoll
@boqoll 2 месяца назад
Can you give a link to the full video, please?
@FloWritesCode
@FloWritesCode 2 месяца назад
This is the full video :)
@danielcrompton7818
@danielcrompton7818 2 месяца назад
Thanks very much! I wonder what ControlGroup does used outside the menu?
@FloWritesCode
@FloWritesCode 2 месяца назад
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.
@danielcrompton7818
@danielcrompton7818 2 месяца назад
@@FloWritesCode Right, thank you!
@aMazinglyKeNn
@aMazinglyKeNn 2 месяца назад
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.