SwiftUI_visionOS_Note

N - Voice Record

 

Set up the Color extension

  1. Under Core → Extension → Color+Extension, create a list of custom colour pallet.
  1. Simply Edit → Format → Show Color, you can drag and drop the colour you want, instead of writing all colorLiterals
 

Create Onboarding Model

  1. Under Model - Onboarding - OnboardingContent, we create a Hashable Model Type
    1. Hashable: it will be used in tabview. → What is Hashable?
  1. OnboardingContent will have following content
  • Means, we can bring the imageFileName by calling String
  1. Create initializer
 

You might also like

BlogPro logo
Made with BlogPro