Skip to content

Conversation

RomanPodymov
Copy link
Contributor

Hello.
As I can see there are 2 languages that are using in this project - Swift 5 and Swift 3. In this pull request I set Swift 5 for all targets and fixed build errors.

@@ -14,7 +14,7 @@ class ViewController: NSViewController {
fileprivate let attributedStrings: [NSAttributedString] = [
{
let attachment = TextAttachment()
attachment.image = NSImage(named: "Star")!
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The app is getting crash on this line because there is no such image. That's why I removed !.

@@ -84,6 +84,11 @@
"idiom" : "ipad",
"size" : "83.5x83.5",
"scale" : "2x"
},
{
"idiom" : "ios-marketing",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generated by Xcode.

Copy link
Owner

@eddiekaiger eddiekaiger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I've been forgetting to update the example app.

@eddiekaiger eddiekaiger merged commit 384e443 into eddiekaiger:master May 22, 2019
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.

2 participants