UIImagePickerController in Swift with Firebase. Cheat Sheet.

This blog post is more of a cheat sheet type on how to use UIImagePickerController in Swift with Firebase to upload a user profile image to Google cloud. I am also going to include here a video demonstration taken from my video

Change Method Call On the Fly:: CallSite

Change Method Call On the Fly:: CallSite

In my previous article, I talked about invokeDynamic, In this article, I will show you the coding how you can leverage the power of invokedynamic. We all know that to load a class dynamically and call a method at runtime we use Java Reflection, Framework developers are often used Reflection to load class runtime and call a method at runtime. But Reflection has a performance cost as it does the security checking each time, On the other hand, invokeDynamic solves that problem and we can use invokeDynamic to runtime call the method. To call the method runtime we need Method handle, Mow the interesting thing is