using "-in'" instead of "-ing" is a stylized and casual way of writing which mimics many dialects of English which drop the "g" while speaking (or speakin', in this case)
Whenever I'm casually typing to my friends, I always drop the g because it's closer to how I casually speak
Example:
Proper -------"Hello, John. I was thinking about walking to the store briefly in order to pick up some milk. Did you need me to pick anything else up while I am already out?"
Casual -----"Hey man I was thinkin about walkin down the store real quick to grab some milk. need anythin else?"
It is important to note that this is not used within the boundaries of proper writing conventions. If you are unsure if you should be using -in' or -ing, simply use -ing.
Hope this helps :)