JDBreaksLoading is fun an open source Swift based component from jamesdouble providing a custom loading indicator with a built-in mini-game.
JDBreaksLoading can be used within your views as a subview, and you can customize the colors, and size of the view.
This snippet from the readme shows basic usage:
let jdbreaksLoading:JDBreaksLoading = JDBreaksLoading(frame: frame)
This image from the readme shows JDBreaksLoading in action:
You can find JDBreaksLoading on Github here.
An interesting custom loading component.