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 4 Support #9

Merged
merged 2 commits into from
Oct 9, 2017
Merged

Swift 4 Support #9

merged 2 commits into from
Oct 9, 2017

Conversation

pmairoldi
Copy link
Collaborator

Migrates code to swift 4.

@@ -10,6 +10,6 @@ Pod::Spec.new do |s|
s.osx.deployment_target = "10.11"
s.source = { :git => "https://github.com/danielgindi/ChartsRealm.git", :tag => "v#{s.version}" }
s.source_files = "ChartsRealm/Classes/**/*.swift"
s.dependency "Charts", "3.0.3"
s.dependency "Charts", "3.0.4"
s.dependency "RealmSwift", "~> 2.10"
Copy link
Collaborator

@liuxuan30 liuxuan30 Oct 9, 2017

Choose a reason for hiding this comment

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

shall we bump to 2.10.2 as well though it should be fine?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No. We should leave it. All versions of 2.10 should be API compatible.

Copy link
Collaborator

Choose a reason for hiding this comment

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

sure. good to go then

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

making sure everything still builds and the pod validates then ill merge

Copy link
Collaborator

@liuxuan30 liuxuan30 Oct 9, 2017

Choose a reason for hiding this comment

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

sure. good to go then. My carthage update always timeout after a long time downloading realm swift :(

Copy link
Collaborator Author

@pmairoldi pmairoldi Oct 9, 2017

Choose a reason for hiding this comment

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

You should use the build command when testing. It's carthage build --no-skip-current. Just builds stuff from checkout.

@pmairoldi pmairoldi merged commit 53087f5 into master Oct 9, 2017
@pmairoldi pmairoldi deleted the swift-4 branch October 9, 2017 04:11
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