Two keys, one hole with Argo

Imagine you have this struct: struct Image { let url : NSURL let description : String? let size : CGSize } And the JSON coming from the server: { url: "http://myimage.jpg", height: 115, description: "What an awesome image", width: 154 } In this particular case we want to build our CGSize…

Github cool trick

The guys from SwiftyJSON, have been taking a bit longer to merge pull requests. So, as it stands, you can't use it with Swift 2.0 and Carthage, but since a pull request exists to fix that, you can: Fork the project. Go to the pull request's owner repo and…

Hosted codeplease.io

So while I was updating Ghost to 0.6.4, somehow I screw it up. I was able to recover the database with all the posts, but I wasn't able to put the old website back online. Since I had to do this stuff every time Ghost released a new…