How to migrate data from Laravel Cashier 5 to 6

In this post I will outline migrating your existing subscription data from Laravel Cashier version 5 to version 6. In version 6, Cashier got a nice update to handle multiple subscriptions but there is not guide to migrate your data. Fear not, it’s actually pretty easy! The first thing you should do is backup your […]

Continue Reading 0

Swift – Google Analytics

I really wanted a simple way to add Google Analytics to my iOS (swift) app without subclassing the way they recommend. Swift makes this easy with Extensions. All you have to do add GA to your swift app (I highly recommend using cocoapods) and add this extension to your code base. Extensions are essentially a […]

Continue Reading 0
Laravel Logo

Laravel 4 – Pivot vs Polymorphic – Part 1

PHP has come a long way! Coming from the Rails world back to PHP has actually been pretty painless thanks to Laravel. One of the first things that stumped me was under what circumstances to use pivot vs polymorphic relationships. This post is more of a reminder for myself but I hope it clarifies things […]

Continue Reading 2
kickstarter

Creating the bouncy/zoom image effect in the KickStarter iOS app

The KickStarter iOS app is pretty awesome. In particular, I like the bounce/zoom effect they have when you pull down on a UITableView. Turns out, it’s pretty easy to replicate. Since UITableView inherits from UIScrollView, we can simply implement the scrollViewDidScroll delegate method and detect when a scroll happens. From there, we just scale the […]

Continue Reading 2

Powered by WordPress. Designed by Woo Themes