Skip to content

Conversation

@blochberger
Copy link

These are a lot of commits but until commit 06c0ef4 it is mostly cleaning up the code in preparation.

Most of the code can be shared, except for the UIKit imports, which I conditionally replaced by Cocoa imports on macOS. Image handling is slightly different, as the UI* classes are not available on macOS.

Due to the initializer of NSImageView not accepting an optional NSImage I refrained from adding a convenience initializer accepting a QRCode, where it is unclear if an image could be constructed.

I'm not sure if it breaks the Travis CI, Carthage, Cocoapods, etc setups. I would appreciate if someone can test that.

Most of the code can be shared, except for the `UIKit` imports, which I
conditionally replaced by `Cocoa` imports on macOS. Image handling is
slightly different, as the `UI*` classes are not available on macOS.

Due to the initializer of `NSImageView` not accepting an optional
`NSImage` I refrained from adding a convenient initializer accepting a
`QRCode`, where it is unclear if an image could be constructed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant