How To Create A QR Code Generator In Xcode 8 (Swift 3)

preview_player
Показать описание
In this video, we will be taking a look at how to create a QR code generator in Xcode 8, using Swift 3.

Рекомендации по теме
Комментарии
Автор

This is the best YouTube channel for Xcode turorials

victorbraca
Автор

Nice! Hey Mr. Sebastian, I was hoping you would show us how to prevent the QRCode image from becoming blurry, that's a common problem I've seen many times. Thanks for these tutorial, sir.

jlecampana
Автор

I have been waiting for this video for months !!!! Thank you !! +1

drippy.mcflip
Автор

Thanks so much, this and the scanner video was just what I needed! Best on youtube

Hooghog
Автор

Great video Could you include in reply how to save to camera roll ?

bykristopherson
Автор

Thank you, excellent short video and easy

MarcosSuarezAyala
Автор

This is really interesting. There are some technical reserve words i don't know the use for. Like in the filter part, "for key: inputmessage" But 👍🏻 for this video! Pls. Publish more tutorial.

bryaneduard
Автор

Hi I all tutorials are awesome. Your channel is very useful..

how can we create QR code for Wifi or location etc.. It will great if you can make video on that. Thank you.

kirtipandya
Автор

Thanks for the work. Please, use guard or if blocks to handle nil objects.

abdouett
Автор

Will this ever duplicate an already made code? For example if I tried to create it for a social media platform and I scanned a code for someone's ID, could that potentially show the wrong / duplicated ID?

Daniel-szlq
Автор

Hello,
Can you tell us how to make an QRCode scanner in Swift

pramitgupta
Автор

Everyone, if the QR code is displayed blurry or in a bad quality, try this in your button's action:

if let myString = textField.text {

//data is a constant
let data = myString.data(using: .ascii, allowLossyConversion: false)
let filter = CIFilter(name: "CIQRCodeGenerator")
filter?.setValue(data, forKey: "inputMessage")

let ciImage = filter?.outputImage

let transform = CGAffineTransform(scaleX: 10, y: 10)
let transformImage = ciImage?.applying(transform)

let image = UIImage(ciImage: transformImage!)
imageViewQR.image = image


saveButton.isEnabled = true

}

xxRafaelProductions
Автор

The qr code gets displayed in a very bad quality, how can I fix that?

mineomediadehd
Автор

Hi, I use this code and I have an exception : unexpectedly found nil while unwrapping an Optional value"

if let myString = myTextField.text{
let data = myString.data(using: .ascii, allowLossyConversion: false)

let filter = CIFilter(name: "CIQRCodeGenerator")
filter?.setValue(data, forKey: "inputMessage")

let img = UIImage(ciImage: (filter?.outputImage)!) // error is here

myImageView.image = img
}

this is the code.

Why Can I Take an exception?

burakseyhan
Автор

Does someone know how to fix the error when typing "ä, ö, ü" in the textfield and click the button?

alexanderpichler
Автор

When i test it, simulator loads but when i get to the part when a press the button in the simulator, it takes me back to Xcode and there is an error that says “thread 1:signal SIGBART”. Can anyone help me with this

victorbraca
Автор

Please can you explain snap chat qr codes

muhammadtanko
Автор

Hello, I want to buy a MacBook for programming Apps. Would you recommend me the MacBook Air 13" (2017) with 128 GB?

Jan-
Автор

Why have you stoped making YouTube videos bro?

fusionx
Автор

Next video will be how to read QR Code.

Sami-rcfu