Configurable Widgets with AppIntents

Поделиться
HTML-код
  • Опубликовано: 13 окт 2024
  • This video covers how the AppIntent framework can be used to create configurable widgets (edit widget). You can define everything in code and just use the new AppIntentConfiguration with WidgetKit.
    🚀 LaunchBuddy: apple.co/3iFcjjW
    📚 Try CWC+: bit.ly/cwc_flo
    ☕️ Buy me a coffee: ko-fi.com/flow...
    👋 Links: flowritesco.de
    🛠 Forge: apple.co/3riG8MQ
    Affiliate Links ❤
    📕 SwiftUI & Combine Books: www.bigmountai...
    🔬 Get Reports about your apps: appfigures.com...
    📊 Privacy focused analytics: dashboard.tele...
    💻 The most powerful mac app for developers: devutils.app/?...
    ☕️ Support me: ko-fi.com/flow...
    If you have any video suggestions please feel free to let me know by a comment.
    Get in contact via
    Twitter: / flowritescode

Комментарии • 19

  • @ampsonic
    @ampsonic 19 дней назад +1

    Thank you! This was very helpful

  • @tomaskmit7780
    @tomaskmit7780 Год назад +3

    Thank you Flo! I learned so much from your videos over the past years. Would it be possible to make a video (or a sample code) on how to get the configuration options from core data? I have been trying to get it to work for weeks but I just can't figure it out.

    • @FloWritesCode
      @FloWritesCode  Год назад

      Thank you! To get you started, you could watch my CoreData + WidgetKit video. It shows you exactly the setup you need to read CoreData content in your Widgets. Hope it helps! ruclips.net/video/FV_3kiRF90g/видео.html

  • @GroundshotsDe
    @GroundshotsDe Год назад

    Again great Video! Now I've got my first widget running! Thanks, Flo!
    👌

  • @AleksanderXII
    @AleksanderXII Год назад +1

    Thank you Flo for all your videos! Any suggestion how to localize the selection values? (red = rot, blue = blau, etc.)

    • @FloWritesCode
      @FloWritesCode  Год назад

      I'm actually not sure about that, sorry! Perhaps it's just LocalizedStringKey instead of String? Have you tried the standard localization setup?

    • @AleksanderXII
      @AleksanderXII Год назад

      I use the new localization methods, but theses selection values are not automatically imported. I added them manually, but that didn't do it. Using the LocalizedStringKey the code does no longer compile.

  • @alinazhusupbekova9852
    @alinazhusupbekova9852 4 месяца назад

    Awesome tutorial! Is there a way to get current location of user when interacting with widget? e.g. on button press

  • @meowing1109
    @meowing1109 10 месяцев назад

    Hey, I've been following your widget kit videos and I'm kind of trying to copy the Lapse app behavior in which they are bringing the user straight to wallpaper settings to set up their app's widget. It will be great if anyone could help me with it. Thanks!

  • @zrahawi
    @zrahawi Год назад

    Can I display the configuration values in a List (UITableView) in a separate sheet view instead of MenuPickerStyle?

    • @FloWritesCode
      @FloWritesCode  Год назад

      I don't think you can change the UI, no. That happens automatically on a system-level.

  • @ephirmdaniel5921
    @ephirmdaniel5921 Год назад

    So we don’t need intenttimelineprovider if we use this ?

    • @FloWritesCode
      @FloWritesCode  Год назад

      As mentioned in the video, you need AppIntentTimelineProvider if you're using AppIntents.

  • @ephirmdaniel5921
    @ephirmdaniel5921 Год назад

    Can you please share this github repo link

  • @rickywitherspoon2861
    @rickywitherspoon2861 Год назад

    Is all of this iOS 17 only?

    • @FloWritesCode
      @FloWritesCode  Год назад

      Unfortunately yes.

    • @boazc
      @boazc Год назад

      @@FloWritesCode I was about to try this but AppIntentTimelineProvider is still beta so I can't. Guess I have to wait!

  • @bjp_for_2024
    @bjp_for_2024 10 месяцев назад

    github link?