Use the sensors in your mobile devices to perform science experiments. Science doesn’t just happen in the classroom or lab—tools like Science Journal let you see how the world works with just your phone.
This PR introduces a new onboarding when the user launches the app for the first time. The onboarding can be restarted also from the sidebar menu.
As a side effect this PR also updates some 3rd party dependencies.
Description
• The original OnboardingViewController has been renamed to LegacyOnboardingViewController;
• A new OnboardingViewController has been created (its UI is loaded from a xib file);
• The view controller uses internally a UIPageViewController to navigate between several onboarding pages;
• Each page subclasses OnboardingPageViewController;
• Some base components has been created in OnboardingPageView to facilitate the composition of onboarding layouts;
• The UI for each onboarding page is created in the -viewDidLoad method of each view controller;
• All the file has been put in the UI/Onboarding folder.
This new onboarding replaces the old permission guide (it will be removed in a following PR) in UserFlowViewController.
Checklist
Motivation and Context
This PR introduces a new onboarding when the user launches the app for the first time. The onboarding can be restarted also from the sidebar menu.
As a side effect this PR also updates some 3rd party dependencies.
Description
• The original
OnboardingViewController
has been renamed toLegacyOnboardingViewController
; • A newOnboardingViewController
has been created (its UI is loaded from a xib file); • The view controller uses internally aUIPageViewController
to navigate between several onboarding pages; • Each page subclassesOnboardingPageViewController
; • Some base components has been created inOnboardingPageView
to facilitate the composition of onboarding layouts; • The UI for each onboarding page is created in the-viewDidLoad
method of each view controller; • All the file has been put in theUI/Onboarding
folder.This new onboarding replaces the old permission guide (it will be removed in a following PR) in
UserFlowViewController
.