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
Various compile errors with example #1
Comments
Hi, @xgdgsc, thanks for the feedback. I have updated the repository for Xcode 7 and Swift 2.0. |
swift-badge-master/swift-badge/SwiftBadge.swift:32:47: Cannot assign to 'translatesAutoresizingMaskIntoConstraints' in 'self' the previous setTranslatesAutoresizingMaskIntoConstraints(false) works. |
Oops, sorry @xgdgsc, I misunderstood you, I thought you were using swift 2.0 and Xcode 7 so I updated to it. It looks like you are using Xcode 6? |
Yes, 6. |
Cool, I should have asked. I have created an xcode 6 branch for you. The only difference is that |
swift-badge-master/swift-badge/SwiftBadge.swift:15:12: Initializer does not override a designated initializer from its superclass
swift-badge-master/swift-badge/SwiftBadge.swift:16:5: Must call a designated initializer of the superclass 'UILabel'
swift-badge-master/swift-badge/ViewController.swift:50:12: 'NSString' is not implicitly convertible to 'String'; did you mean to use 'as' to explicitly convert?
I' m using latest Xcode and swift.
The text was updated successfully, but these errors were encountered: