Custom segmented control wwdc2018/405

In https://developer.apple.com/videos/play/wwdc2018/405/ the demo app named Trailblazer shows in minute 28 something that looks like a customized UISegmentedControl to me for switching reviews/photos. The project view in that Xcode shot does not show 3rd party libs. I wonder how this control was made. I did not find source code for that app.


This is a screenshot of it:

https://macmark.de//images/wwdc2018-405.png

Replies

Why do you think it is a custom segmented control ? I would have thought it is simply a collection view

h ttps://macmark.de//images/wwdc2018-405.png

I only have seen such controls in 3rd party frameworks that try to shoehorn a Google style feature into iOS segmented control like https://github.com/HeshamMegid/HMSegmentedControl

I assume the arrow is sliding to indicate what is selected.


Doing this reviews/photos selection control including the sliding green arrow on the green line with a collection view sounds awkward to me. Some kind of animated background for UISegmentedControl would be a more direct way.


I really would like to learn how Apple implemented this control in that demo app.