-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Charts changes for Swift 2.3 #1145
Conversation
@danielgindi shall we consider 2.3 or we jump to 3.0 directly? I did see more work for 3.0 while converting. 2.3 is much easier to convert automatically. 2.3 is the version to get started with Xcode 8 very quickly |
I’d love to go to 3 directly but I have a lot more dependancies that need to move too. |
There are a lot of project related changes in there that you problem shouldn't include in the pull request. Thinks like...
|
True, I was being lazy and didn't want to break my project. He's going to have to replace those anyway as its a part of the new code signing system. Normally I'd .gitignore the project file but thats where you have to set the swift version. |
I compare this branch with my swift 2.3 branch, and actually you are having some info like development team, xcscheme that I don't have in diff. I think it's your .gitignore file issue? Because the one from the library seems filted xcscheme. |
I would take your 2.3 branch one mine, the Team info in the diff was me trying to get Cocoapods to respect those new settings in Xcode 8 so I pushed them to my Charts repo.
|
I see, I don't use pod for my repo, just the same clone of the upstream branch. |
@opswhisperer would you fix the irrelevant diffs or I create a new 2.3 merge? |
I can fix it, might be later today.
|
Updated, left only the swift changes and the build settings recommended by Xcode |
I am closing this and use #1163 instead. |
oops, my bad, I just saw you updated your PR. However, an interesting thing is for ChartPlatform.swift, you and I have major different results.. Do you use Xcode 8 converter to do it? Or you manually did that? |
BTW, please choose Swift-2.3 branch for this PR. I have created this branch and merged a working version for swift 2.3. I am also seething some minor differences, like whole module optimization vs single file optimization. @opswhisperer you could add those you think are better or more reasonable. Thank you! |
All of those changes are from the migration tool. I didn’t do any manually |
closing; we had a swift 2.3 branch for this. I am not sure how long will swift 2.3 will exists, but currently 2.3 and 3.0 branch is for testing iOS 10, so once it is released, I think convert all in once at that time based on master is a better choice than continuous merging |
If using cocoapods and Xcode 8 add the following to ensure the framework is set for Swift 2.3. Optionally modify this to only change the Charts pod
If its not a swift pod it still gets added but ignored, if it its a Swift pod then it sets the
Use Legacy Swift Language Version
build setting toYes