Very interesting tutorial! I am often asked to port an Android app to iOS, and Material Design components could help me do that.
After adding ripple i experience dramatic fps decrease while scrolling table view.
@nbonatsakis Can you please help with this when you get a chance? Thank you - much appreciated! :]
Where in the cell are you adding the ripple? Is it in the cell initialization as in the tutorial, or are you adding it on every cell reuse?
Also, make sure you’re on the later version of Material Components, they’ve made a bunch of fixes since the tutorial was released.
Barring that, can you post some code?
how to add multiple view controllers, one controller for each one of the tabs?
like the fragments in android
There is a class you can used that acts similarly to UITabBarController called MDCTabViewController: https://github.com/material-components/material-components-ios/blob/develop/components/Tabs/src/MDCTabBarViewController.h
This would be the most straight forward way to accomplish what you’re after.
This tutorial is more than six months old so questions are no longer supported at the moment for it. Thank you!