SwiftUI Tooltips with TipKit (Popover & Inline Tips)

Поділитися
Вставка
  • Опубліковано 3 лип 2024
  • Go to squarespace.com/seanallen to save 10% off your first purchase of a website or domain using code SEANALLEN.
    iOS 17 introduces TipKit which is a framework to show helpful tooltips to your users to guide them through your app. In this video I demonstrate how to set up a basic popover tip and then we create an inline TipView with specific rules to determine exactly when to show this tip. This is done by creating events and then donating them based on user behavior.
    My iOS Dev Courses:
    seanallen.teachable.com/
    Project Source Code:
    seanallen.teachable.com/p/sou...
    WWDC 2023 - TipKit Session:
    developer.apple.com/videos/pl...
    Apple Human Interface Guidelines - TipKit:
    developer.apple.com/design/hu...
    X (Twitter):
    Sean Allen - / seanallen_dev
    Hired.com:
    hired.com/x/1n01g
    Book and learning recommendations that help out the channel if you decide to purchase (Affiliate Links):
    Paul Hudson's Hacking With Swift:
    gumroad.com/a/762098803
    Donny Wals - Combine:
    gumroad.com/a/909014131
    Mark Moeyken’s SwiftUI Books:
    www.bigmountainstudio.com/swiftui-views-book/fzc51
    Objc.io Books (Thinking in SwiftUI & Advanced Swift):
    gumroad.com/a/656585843
    Timestamps:
    0:00 - What we will build and learn
    0:31 - Stater Project Review
    1:13 - TipKit Best Practices
    2:05 - Basic Popover Tip
    4:07 - Tip Configurations (App)
    6:36 - Invalidating a Tip
    7:47 - Intro to Rules
    9:16 - Inline TipView (UI)
    10:59 - Code for Rules (Events)
    12:26 - Donate Events
    14:08 - Testing our Rule
    #swift #softwaredeveloper #iosdeveloper
  • Наука та технологія

КОМЕНТАРІ • 28

  • @seanallen
    @seanallen  7 місяців тому +1

    My iOS Dev Courses & UA-cam Tutorials Source Code - seanallen.teachable.com

  • @VictoryOfPaul
    @VictoryOfPaul 5 місяців тому +2

    Thank you for your videos! You are really awesome at explaining things: fast and easy!

    • @seanallen
      @seanallen  5 місяців тому

      Thanks for the kind words! Glad you're enjoying my teaching style.

  • @fpst
    @fpst 7 місяців тому +3

    That's really cool. Thanks

    • @seanallen
      @seanallen  7 місяців тому

      Glad you like it!

  • @nileshjdarji
    @nileshjdarji 7 місяців тому +3

    Super awesome feature.

    • @seanallen
      @seanallen  7 місяців тому +1

      Agreed. It's soooo nice.

  • @olimnamllu6326
    @olimnamllu6326 7 місяців тому +1

    Great video!

  • @Deadpool25mm
    @Deadpool25mm 4 місяці тому +1

    Thanks!

  • @comexbackkid
    @comexbackkid 4 місяці тому +2

    Really awesome... but how did you get your paintpalette image to change color to your app's custom color?

    • @seanallen
      @seanallen  4 місяці тому +1

      It's your app's accent color in your asset catalog.

  • @paulyandnukhas
    @paulyandnukhas 6 місяців тому +1

    This is so cool, I was hand coding a much more basic version… does this feed into the Tips app?

    • @seanallen
      @seanallen  6 місяців тому +1

      I don't believe so

    • @paulyandnukhas
      @paulyandnukhas 6 місяців тому

      Maybe in the future, I don't think it'll be hard for Apple to do that@@seanallen

  • @congtuhuyet5502
    @congtuhuyet5502 6 місяців тому

    How to change color image sysname tipkit in toolbar?

  • @FootballWEdits
    @FootballWEdits 7 місяців тому +3

    Ok, I have a todo app, and I want to implement this tip feature. Basically, I want the tip to pop up immediately, which I understand, and then have the user click next for the other tips that I will show them. That’s gonna be the case for however many I want to add, but at the last one, I want all the tips to be completely dismissed, meaning the tips will never show again, with the last “Next” button substituted for a “Done” button. While that is going on, I want the user to not be able to tap anything on the screen, and dim the screen that’s not the tip. Can you help with that code a little?

  • @yugasamuel6402
    @yugasamuel6402 6 місяців тому +1

    If I had 5 tips in a view, is it possible for TipKit to show each of them one by one?

    • @seanallen
      @seanallen  6 місяців тому

      Yes. You can set the display frequency to show one tip per specific time interval. Read more here - developer.apple.com/documentation/tipkit/tips/configurationoption/displayfrequency(_:)

  • @xuanmeeting1839
    @xuanmeeting1839 6 місяців тому

    What is the minimum memory for using Xcode? Is an 8gb Mac mini OK?

    • @seanallen
      @seanallen  6 місяців тому

      8GB is pushing it... you can probably make it work, but it may struggle on larger products.

  • @iLoveAppl3947
    @iLoveAppl3947 7 місяців тому +5

    bro you speak too fast man

    • @seanallen
      @seanallen  7 місяців тому +12

      Been working on my speed. Of course, it's impossible to cater to everyone's preferences (some people love the fast talking). Luckily, UA-cam has playback speed adjustments so you can speed it up or slow it down as you need.

    • @tazman7689
      @tazman7689 5 днів тому +1

      I agree, sometimes in UA-cam videos he does speak fast. However, I just finished his course on WidgetKit on Teachable. He slows down to make sure you understand the concepts. It’s an excellent course and I learned a lot.