-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Danger Xcode-Summary issue #11
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,8 +13,12 @@ final public class QRPictureGenerator { | |
|
||
let context = CIContext() | ||
|
||
private let dummy :Int = 123 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Colon at column 23 should have exactly one space after it There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Colon at column 23 should have no spaces before it |
||
|
||
public func qrPicture(for text: String) -> Picture { | ||
|
||
let dummy = 123 | ||
|
||
let ciGenerator = CIFilter.qrCodeGenerator() | ||
let qrCode = ciGenerator.qrCodeImage(for: text, correctionLevel: "H")! | ||
let output = context.createCGImage(qrCode, from: qrCode.extent)! | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
colon
QRPictureGenerator.swift:16