How To Share Data Between View Controllers in Swift (iOS)

Recently I've been coding some Swift which is really fun, but being new to mobile development also causes some headaches. One of them was sharing data between view controllers. I read this article on The Singleton Pattern in Swift which I thought suited this problem perfectly. This way you don't…

How To Create a Custom Auth Driver in Laravel 4

I recently worked on a project where we needed to authenticate users using a SOAP webservice. (Yes, SOAP). Since we were building the app with Laravel we decided to create a custom authentication driver. By creating a custom driver you get to use all the functions you are used to…