Usage
Step 1. Add Lottie SDK This step is optional and only if you wish to showcase cool animation to the uers using Lottie files
- Go to File -> Add Package Dependency.
- In the search bar, enter this URL.
- Choose the version you'd like to install.
- Click Add Package.
Step 2. Start the flow
let onboarding = IntroChoiceViewControllerFactory.init(questions: T##[String], answers: T##[String : [String]], personalizationText: T##String?, personalizationAnimation: T##String?).build()
onboarding.modalPresentationStyle = .fullScreen
self.present(onboarding, animated: true)