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 - Наука та технологія
My iOS Dev Courses & UA-cam Tutorials Source Code - seanallen.teachable.com
Thank you for your videos! You are really awesome at explaining things: fast and easy!
Thanks for the kind words! Glad you're enjoying my teaching style.
That's really cool. Thanks
Glad you like it!
Super awesome feature.
Agreed. It's soooo nice.
Great video!
Thanks!
Thanks!
No problem!
Really awesome... but how did you get your paintpalette image to change color to your app's custom color?
It's your app's accent color in your asset catalog.
This is so cool, I was hand coding a much more basic version… does this feed into the Tips app?
I don't believe so
Maybe in the future, I don't think it'll be hard for Apple to do that@@seanallen
How to change color image sysname tipkit in toolbar?
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?
so were you able to do it?
@@ETERNITY2OP Nah
If I had 5 tips in a view, is it possible for TipKit to show each of them one by one?
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(_:)
What is the minimum memory for using Xcode? Is an 8gb Mac mini OK?
8GB is pushing it... you can probably make it work, but it may struggle on larger products.
bro you speak too fast man
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.
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.