Sharing the Code

Programming stuff that might be useful to others

How to do X in Swift?

When writing Swift code you’re bound to come across things that you might have been used to doing in Objective-C but haven’t a clue how to do in Swift. Below is a collection of gotchas I came across.

Read more

RestKit and Swift

RestKit is an iOS library that helps when working with REST web services. It will convert your classes to/from JSON and integrates with Core Data.

Read more

Calling Grunt from Ant

I’ve been using Apache Ant to deploy to servers for a number of years but I’ve been using Grunt for client-side development recently. Before I package up my website and deploy to a server I might want to minify the CSS and Javascript and that’s where Grunt comes in.

Read more

Check if a configuration profile is installed on iOS

Configuration profiles can be downloaded to an iOS device through Safari to configure the device in a certain way. You can do things like force the user to set a passcode or set restrictions like not allowing them to install apps or not allowing access to Safari.

Read more