A few days ago, I needed to create QR Codes in an iOS app and discovered how easy and painless it is to do so with built-in Core Image APIs (introduced in iOS7):

That's it!
Output of the example above:

QR Code