TipKit SwiftUI explained: Showing tips, conditional, swift macro rules, new in WWDC 2023, iOS 17

Описание к видео TipKit SwiftUI explained: Showing tips, conditional, swift macro rules, new in WWDC 2023, iOS 17

This is a detailed explanation of using the new TipKit framework in SwiftUI. It talks about defining Tip struct, adding image, title, description, options (using Swift Macro), and rules (controlling whether the rule is shown or not). Including in-line view and popover view.

Article:
https://mszpro.com/blog/ios17-tipkit-...
Japanese: https://mszpro.com/blog/tipkit-ios17-ja/

Follow me on SNS:
Twitter (X):   / mszpro  
Mastodon: https://sns.mszpro.com ([email protected])
Bluesky: mszpro.com

Newest app I made using SwiftUI: https://mszpro.com/sorasns (1 iOS app to connect to Mastodon, Bluesky, Misskey, Firefish) on iOS. Personally developed by me.

00:00 Why do we need to show tips on UI?
01:56 Demo of what it looks like
03:55 Defining a struct conforming to Tip protocol
05:18 Showing in-line tip view
06:22 Configuration of global display frequency and data storage
07:36 Popover tip view modifier for tool bar item
09:14 Rule based Tip with Swift Macro
10:15 Usage frequency counter and usage based tips
11:40 Adding option buttons to tip view
13:05 Debug codes and functions
13:55 Making compatible with iOS 16 and lower deployment targets, options for max display count for each tip
16:41 Showing my recently solo developed app using SwiftUI: 1 app for Mastodon, Bluesky, Firefish, and Misskey.

Комментарии

Информация по комментариям в разработке