arduino / Arduino-Science-Journal-iOS

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.
http://arduino.cc/education
Apache License 2.0
22 stars 9 forks source link

Add the new onboarding #46

Closed emiliopavia closed 3 years ago

emiliopavia commented 3 years ago

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 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.