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

Changes for Swift 4.2, Xcode 10 and iOS 12 #3522

Merged
merged 1 commit into from
Sep 17, 2018

Conversation

jlcanale
Copy link
Contributor

Issue Link 🔗

Apple renamed keys and functions in Swift 4.2

Goals ⚽

Get a branch started to use these changes during the beta period.

Please merge into a new branch Swift-4.2

@liuxuan30
Copy link
Member

liuxuan30 commented Jun 21, 2018

based on the experience, we shall hold this until beta 5-6 or GM, and upgrade once and for all.
@jjatie do you think we could finish swift refactor before September?

@jlcanale
Copy link
Contributor Author

Sounds good, I'll use my fork until then.

@jjatie
Copy link
Collaborator

jjatie commented Jul 20, 2018

@liuxuan30 I don't think I'll have much time to do that. I can make sure I do the Xcode 10 update and make some changes for Swift 4.2. Some of my bigger changes will likely have to wait until a later time.

@liuxuan30
Copy link
Member

@jjatie take your time. I could also take care of Swift 4.2 upgrade. If we cannot make it before Swift 4.2, let's merge into master first and handle our refactoring then.

Some of my bigger changes

Are these bigger changes in target for 4.0 card, or in in progress? There are only two PRs left in in progress: #3164 and #3187.

@jjatie
Copy link
Collaborator

jjatie commented Aug 1, 2018

@liuxuan30 They aren't on the task board at all. I don't have time to work on them, so there's no point in talking about them now.

@petester42 FYI from Xcode 10 beta 5 notes:

Various CoreGraphics calls have been hardened against continuing with invalid parameters. In iOS 12 beta, these calls may now return NULL or return early. (38344690)

@pmairoldi
Copy link
Collaborator

I don’t see where we would be passing invalid parameters.

@Witzeneder
Copy link

Is there any update on this matter?

@pmairoldi
Copy link
Collaborator

Xcode 10 hasn’t been released yet so no

@liuxuan30 liuxuan30 mentioned this pull request Sep 6, 2018
1 task
@kabouzeid
Copy link

Xcode 10 GM and Swift 4.2 are out

@jlaws
Copy link

jlaws commented Sep 13, 2018

As @kabouzeid said, the GM is out and we can start submitting apps using the latest version of XCode. Would be great to get this merged!

@jjatie
Copy link
Collaborator

jjatie commented Sep 13, 2018

@liuxuan30 @petester42 I have a little time today. Would you like me to get the pod Xcode 10/Swift 4.2 ready? Alternatively, we can do this just for the 4.0.0 branch?

@pmairoldi
Copy link
Collaborator

I don’t think 4.0.0 is ready. Do it on master

@dclelland
Copy link

@jlcanale I've added a PR to this branch which should fix a few additional Swift 4.2 warnings which popped up in the last few days: jlcanale#1

@pmairoldi
Copy link
Collaborator

thanks

@pmairoldi pmairoldi merged commit c43b6b6 into ChartsOrg:master Sep 17, 2018
@liuxuan30
Copy link
Member

cheers guys. My laptop is broken... took sometime to restore everything

@pmairoldi
Copy link
Collaborator

I’m finishing things off. Release tonight or tomorrow

@liuxuan30
Copy link
Member

sure, thanks a lot

@jlaws
Copy link

jlaws commented Sep 30, 2018

Works great, thank you!

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.

8 participants