Flo writes Code
Flo writes Code
  • 209
  • 555 340
Read ScrollPosition & Change Starting Point in iOS 18
.scrollTargetLayout, .scrollDefaultAnchor, .scrollPosition and ScrollPosition are new additions to the SwiftUI Scrolling system. Let's explore them.
Join this channel to get access to perks:
ua-cam.com/channels/Yt_AtiKPyda44NYzwABvQQ.htmljoin
🚀 LaunchBuddy: apple.co/3iFcjjW
📚 Try CWC+: bit.ly/cwc_flo
☕️ Buy me a coffee: ko-fi.com/flowritescode
👋 Links: flowritesco.de
🛠 Forge: apple.co/3riG8MQ
Affiliate Links ❤
📕 SwiftUI & Combine Books: www.bigmountainstudio.com/a/tpgmp
🔬 Get Reports about your apps: appfigures.com/r/5by3g
📊 Privacy focused analytics: dashboard.telemetrydeck.com/registration/organization?referralCode=27AOWO4R1TTEJBST
💻 The most powerful mac app for developers: devutils.app/?ref=flo
☕️ Support me: ko-fi.com/flowritescode
If you have any video suggestions please feel free to let me know by a comment.
Get in contact via
Twitter: FloWritesCode
Переглядів: 554

Відео

ControlGroup & ButtonRole in SwiftUI Menu
Переглядів 4972 місяці тому
Let's make our SwiftUI Menus more appealing by improving the visual hierarchy. Join this channel to get access to perks: ua-cam.com/channels/Yt_AtiKPyda44NYzwABvQQ.htmljoin 🚀 LaunchBuddy: apple.co/3iFcjjW 📚 Try CWC : bit.ly/cwc_flo ☕️ Buy me a coffee: ko-fi.com/flowritescode 👋 Links: flowritesco.de 🛠 Forge: apple.co/3riG8MQ Affiliate Links ❤ 📕 SwiftUI & Combine Books: www.bigmountainstudio.com/...
Animated Backgrounds with MeshGradient in iOS 18
Переглядів 9252 місяці тому
Let's learn about SwiftUI's newest AnyGradient from WWDC24. Join this channel to get access to perks: ua-cam.com/channels/Yt_AtiKPyda44NYzwABvQQ.htmljoin 🚀 LaunchBuddy: apple.co/3iFcjjW 📚 Try CWC : bit.ly/cwc_flo ☕️ Buy me a coffee: ko-fi.com/flowritescode 👋 Links: flowritesco.de 🛠 Forge: apple.co/3riG8MQ Affiliate Links ❤ 📕 SwiftUI & Combine Books: www.bigmountainstudio.com/a/tpgmp 🔬 Get Repor...
Build Widgets for the Control Center (& Lock Screen) for iOS 18
Переглядів 1,3 тис.2 місяці тому
Let's explore WidgetKit's new ControlWidget and ControlWidgetButton APIs in Xcode 16 to support Control Center Controls and Lock Screen Buttons. Join this channel to get access to perks: ua-cam.com/channels/Yt_AtiKPyda44NYzwABvQQ.htmljoin WidgetKit Masterclass: ua-cam.com/video/8ToDo6ZX1nI/v-deo.html AppIntents Playlist: ua-cam.com/play/PL-bD2p6sedqhQGDCUMSY7ZfhVlGq7wsad.html 🚀 LaunchBuddy: app...
SidebarAdaptable in iPadOS 18
Переглядів 7732 місяці тому
Sidebar TabView = iPadOS 18 APIs! Let's explore this one using the Xcode 16 BETA. Join this channel to get access to perks: ua-cam.com/channels/Yt_AtiKPyda44NYzwABvQQ.htmljoin 🚀 LaunchBuddy: apple.co/3iFcjjW 📚 Try CWC : bit.ly/cwc_flo ☕️ Buy me a coffee: ko-fi.com/flowritescode 👋 Links: flowritesco.de 🛠 Forge: apple.co/3riG8MQ Affiliate Links ❤ 📕 SwiftUI & Combine Books: www.bigmountainstudio.c...
@Previewable in Xcode 16 Previews
Переглядів 1,1 тис.2 місяці тому
Create Bindable/Binding State variables in your SwiftUI Previews for iOS 18. Join this channel to get access to perks: ua-cam.com/channels/Yt_AtiKPyda44NYzwABvQQ.htmljoin 🚀 LaunchBuddy: apple.co/3iFcjjW 📚 Try CWC : bit.ly/cwc_flo ☕️ Buy me a coffee: ko-fi.com/flowritescode 👋 Links: flowritesco.de 🛠 Forge: apple.co/3riG8MQ Affiliate Links ❤ 📕 SwiftUI & Combine Books: www.bigmountainstudio.com/a/...
Zoom/Hero Navigation Transitions in iOS 18
Переглядів 1,2 тис.2 місяці тому
It only takes two lines of code to complete change the navigation transition/animation with the new Xcode 16 iOS 18 SwiftUI updates. Join this channel to get access to perks: ua-cam.com/channels/Yt_AtiKPyda44NYzwABvQQ.htmljoin 🚀 LaunchBuddy: apple.co/3iFcjjW 📚 Try CWC : bit.ly/cwc_flo ☕️ Buy me a coffee: ko-fi.com/flowritescode 👋 Links: flowritesco.de 🛠 Forge: apple.co/3riG8MQ Affiliate Links ❤...
Translation Framework in iOS 18
Переглядів 1,1 тис.2 місяці тому
Translate a String or an Array of Strings on-device with the Translation Framework in Xcode 16. Documentation: developer.apple.com/documentation/translation/translating-text-within-your-app Join this channel to get access to perks: ua-cam.com/channels/Yt_AtiKPyda44NYzwABvQQ.htmljoin 🚀 LaunchBuddy: apple.co/3iFcjjW 📚 Try CWC : bit.ly/cwc_flo ☕️ Buy me a coffee: ko-fi.com/flowritescode 👋 Links: f...
Horizontal Layouts on macOS (SwiftUI)
Переглядів 6573 місяці тому
Layout, Resizing, Sidebars, Details, Inspectors. Let's explore horizontal layout containers on macOS. Join this channel to get access to perks: ua-cam.com/channels/Yt_AtiKPyda44NYzwABvQQ.htmljoin 🚀 LaunchBuddy: apple.co/3iFcjjW 📚 Try CWC : bit.ly/cwc_flo ☕️ Buy me a coffee: ko-fi.com/flowritescode 👋 Links: flowritesco.de 🛠 Forge: apple.co/3riG8MQ Affiliate Links ❤ 📕 SwiftUI & Combine Books: www...
Stop using GeometryReader in SwiftUI
Переглядів 4,8 тис.4 місяці тому
GeometryReader is commonly used to control the size of a View w.r.t its parent View/container. Let's explore a simple ViewModifier in iOS 17 that makes this so much easier and nicer to read. 🚀 LaunchBuddy: apple.co/3iFcjjW 📚 Try CWC : bit.ly/cwc_flo ☕️ Buy me a coffee: ko-fi.com/flowritescode Join this channel to get access to perks: ua-cam.com/channels/Yt_AtiKPyda44NYzwABvQQ.htmljoin 👋 Links: ...
WidgetKit Masterclass 2024
Переглядів 1,6 тис.4 місяці тому
Let's learn everything about building widgets for the home & lock screen on iOS. Timelines, Intents, API Calls, Size Classes, Multiple Widgets, Interactions, Configurations, and much more. Join this channel to get access to perks: ua-cam.com/channels/Yt_AtiKPyda44NYzwABvQQ.htmljoin 🚀 LaunchBuddy: apple.co/3iFcjjW 📚 Try CWC : bit.ly/cwc_flo ☕️ Buy me a coffee: ko-fi.com/flowritescode 👋 Links: fl...
Snap to Scroll in SwiftUI (iOS 17+)
Переглядів 9425 місяців тому
Let's learn about the quick solution to implementing snap to scroll behaviour in SwiftUI's ScrollView with scrollTargetBehavior and scrollTargetLayout. We'll also learn about contentMargins. Join this channel to get access to perks: ua-cam.com/channels/Yt_AtiKPyda44NYzwABvQQ.htmljoin 🚀 LaunchBuddy: apple.co/3iFcjjW 📚 Try CWC : bit.ly/cwc_flo ☕️ Buy me a coffee: ko-fi.com/flowritescode 👋 Links: ...
How to update your app on the App Store in 2024
Переглядів 5 тис.5 місяців тому
Archive, Upload, Attach and Submit your app updates to the App Store through App Store Connect (ASC). Join this channel to get access to perks: ua-cam.com/channels/Yt_AtiKPyda44NYzwABvQQ.htmljoin 🚀 LaunchBuddy: apple.co/3iFcjjW 📚 Try CWC : bit.ly/cwc_flo ☕️ Buy me a coffee: ko-fi.com/flowritescode 👋 Links: flowritesco.de 🛠 Forge: apple.co/3riG8MQ Affiliate Links ❤ 📕 SwiftUI & Combine Books: www...
Refresh SwiftUI View Programmatically
Переглядів 1,4 тис.6 місяців тому
Refresh SwiftUI View Programmatically
The BEST Way to Build an App
Переглядів 1,4 тис.9 місяців тому
The BEST Way to Build an App
Support Shortcuts & Siri with AppIntents
Переглядів 4,1 тис.10 місяців тому
Support Shortcuts & Siri with AppIntents
VIM: A new SwiftUI Architecture for iOS 17
Переглядів 4,4 тис.11 місяців тому
VIM: A new SwiftUI Architecture for iOS 17
Build a visionOS app with SwiftUI & SwiftData (Full Course)
Переглядів 2 тис.11 місяців тому
Build a visionOS app with SwiftUI & SwiftData (Full Course)
5 SwiftUI Features You Didn’t Know!
Переглядів 1,9 тис.Рік тому
5 SwiftUI Features You Didn’t Know!
Persistence with SwiftData on visionOS (Lesson 5)
Переглядів 794Рік тому
Persistence with SwiftData on visionOS (Lesson 5)
Introduction to TipKit for iOS 17
Переглядів 2,7 тис.Рік тому
Introduction to TipKit for iOS 17
visionOS: State & Animations with SwiftUI for Vision Pro (Lesson 4)
Переглядів 1,2 тис.Рік тому
visionOS: State & Animations with SwiftUI for Vision Pro (Lesson 4)
Intermittent Fasting Tracker with WidgetKit & SwiftData | Episode 2
Переглядів 990Рік тому
Intermittent Fasting Tracker with WidgetKit & SwiftData | Episode 2
Alerts & Lists on visionOS (Lesson 3)
Переглядів 1,3 тис.Рік тому
Alerts & Lists on visionOS (Lesson 3)
NavigationSplitView on visionOS (Lesson 2)
Переглядів 2,2 тис.Рік тому
NavigationSplitView on visionOS (Lesson 2)
Build a Full SwiftData App [Free Course]
Переглядів 3,6 тис.Рік тому
Build a Full SwiftData App [Free Course]
SwiftData with Interactive Widgets | Build a Full SwiftData App Lesson 5
Переглядів 1,4 тис.Рік тому
SwiftData with Interactive Widgets | Build a Full SwiftData App Lesson 5
SwiftData in Widget Extensions | Build a Full SwiftData App Lesson 4
Переглядів 3,4 тис.Рік тому
SwiftData in Widget Extensions | Build a Full SwiftData App Lesson 4
SwiftData App Groups & Swipe Actions | Build a Full SwiftData App Lesson 3
Переглядів 1,7 тис.Рік тому
SwiftData App Groups & Swipe Actions | Build a Full SwiftData App Lesson 3
Build a visionOS App: Project Setup, Simulator & Preview (Lesson 1)
Переглядів 3,3 тис.Рік тому
Build a visionOS App: Project Setup, Simulator & Preview (Lesson 1)

КОМЕНТАРІ

  • @danielcrompton7818
    @danielcrompton7818 11 годин тому

    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 24 дні тому

    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😄

  • @justmytraining4190
    @justmytraining4190 2 місяці тому

    thanks, very useful for me

  • @DianaBrik
    @DianaBrik 2 місяці тому

    Thank you so much for this video! Very helped😊

  • @da6410
    @da6410 2 місяці тому

    Thank you!

  • @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?

  • @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.