iOS - Custom Loader library

Few weeks ago I worked on custom loader library for iOS applications. I was inspired by one such library on GitHub itself. Besides I started reading excellent iOS Core Animation book by Nick Lockwood. Indeed the library was not possible without animation tips and trick from this book.

Here's the demo GIF. I hope you will like it.

Demo_image_custom_loader

You can locally clone the library and go through source code as well as demo examples by running following command on the MAC terminal


git clone git@github.com:jayesh15111988/JKCustomLoader.git

As expected, this library is available through cocoapods. Just include following line to your podfile and run either pod install or pod update. (Depending on whether you already have installed pods in the project or not)


pod 'JKCustomLoader', :git => 'git@github.com:jayesh15111988/JKCustomLoader.git' , :branch => 'master'

(Sorry, I haven't had a chance to add it to the cocoapods central repository)

Information :

Library is completely open source software. You may download a source from Custom Loader GitHub page. Feel free to send merge requests. If you have any questions about it, please let me know.

Demo :

This library support following 5 types of custom animations. Every animation mechanism is customizable in terms of relevant parameters.

  1. Rectangle
  2. Circle
  3. Triangle
  4. Polygon
  5. Image (Note: Image needs to be with transparent background for animation to be visible)

I have added example for each type. Feel free to tweak the demo and see how it looks.

Documentation :

Library is well documented. You can find the usage in Custom loader Readme file. If you have any more doubts about how to use the library, please go through examples in sample project or feel free to contact me on the email address.

License :

The library comes up with the standard MIT License.