Simple QRCode reader in Swift