How to create an animated on-board computer on iOS

I am creating an application that will have a quick start at the beginning with a fairly simple scrolling animation and ends with a button to basically "navigate" to the content of the application.

I'm looking for suggestions on how to develop this most efficiently and effectively, here are some things he needs:

  • should be paginated so that it blocks at about 4 different positions throughout the server.
  • the progress of the animations should depend on the scroll view position (I'm guessing the x value of the content offset)
  • there should be views that stay on the screen after a few pages, and some that move across the screen and go beyond the screen on board, it might not just be one image moving on and then off.
  • there should be a button that appears on the last page

I have a good understanding of scrolling, page views, and page controls. I also just bought Core Animator (app) if anyone can suggest how to implement this.

The way I'm going to do this is basically creating a paging scrolling that is empty and just using it to control animations with its content shifting. Is there a faster way to do this, or perhaps an open source library that will perform better? Currently I only own Swift :?

Thanks for any suggestions! This is my first application and I am very happy to hear your suggestions.

+3


source to share


2 answers


I would look at UIPageViewController

how my page scrolling setup is for you, although you have control over which animation it uses. You are responsible for submitting view controllers to display using this method:

setViewControllers(_:direction:animated:completion:)



here is a link to Apple documentation UIPageViewController Docs

0


source


I created a credit scrolling screen for one of my corporate FaceDancer apps, which would be a decent starting point for what you need. The app is free. You can download it to check it out from this link: FaceDancer . The credits screen is disabled by the info button on the home screen.

It's not hard to use UIView animations to just animate a series of views. I think it might be easier than working with a scroll list.



I can give you some advice if you think it would be helpful.

0


source







All Articles