MPParallaxView is an open source example from DroidsOnRoids implementing the AppleTV parallax effect in Swift on iOS.
MPParallaxView shows how to create a similar parallax effect with touch based control and accelerometer based control.
You can also tweak some of the parameters within interface builder to see how they change the effect, and you can also switch between touch and the accelerometer in interface builder.
This image from the readme shows MPParallaxView in action:
You can find MPParallaxView on Github here.
A great parallax effect.