Skip to content
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

Swift 3.1 and Xcode 8.3 beta support (Optional Downcast Error) #15

Closed
dkalinai opened this issue Jan 25, 2017 · 4 comments
Closed

Swift 3.1 and Xcode 8.3 beta support (Optional Downcast Error) #15

dkalinai opened this issue Jan 25, 2017 · 4 comments

Comments

@dkalinai
Copy link

screen shot 2017-01-25 at 16 20 32

The TextFile class line 121 started to give me the error in the screenshot.

@dkalinai
Copy link
Author

I should probably add that I am using Xcode 8.3 with Swift 3.1, thats the only place that has an issue

@Jeehut
Copy link
Member

Jeehut commented Jan 25, 2017

Yes, this indeed looks like a change in Swift 3.1 – feel free to fork the project, fix the issues and use your fork until Xcode 8.3 and Swift 3.1 are released. Posting a Pull Request would also be a good idea, that way we could just use your solution. An official release will be added as soon as those are out of beta.

I'm not sure how else to deal with those constant changes in the Swift language without annoyances for those of us who use stable software. Beta users are more likely to accept that they have to change their Cartfile or Podfile, I think.

@Jeehut
Copy link
Member

Jeehut commented Jan 25, 2017

I'm renaming this issue to reflect the actual issue.

@Jeehut Jeehut changed the title Conditional downcast error in TextFile Swift 3.1 and Xcode 8.3 beta support (Optional Downcast Error) Jan 25, 2017
@Jeehut
Copy link
Member

Jeehut commented Dec 10, 2017

I just updated the project to Swift 4 and Xcode 9. This should be closed by that.

@Jeehut Jeehut closed this as completed Dec 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants