Skip to content

Migrated swift-xcode-playground-support to Swift 4.2 #31

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

Merged
merged 8 commits into from
Nov 1, 2018

Conversation

cwakamo
Copy link
Member

@cwakamo cwakamo commented Oct 31, 2018

This was accomplished using the Swift migrator in Xcode 10.1, and all of these targets now build with the latest-stable Swift language version (except the legacy PlaygroundLogger framework, which I'm not touching as it should likely be removed rather than updated at this point). This update was tested locally both by using the master snapshot xctoolchain from Swift.org from October 24th, as well as by building everything locally together.

This PR includes some minor reorganization changes to PlaygroundSupport and XCPlayground's tests to minimize code duplication.

This addresses rdar://problem/45676453.

This is for <rdar://problem/45676453>.
…S, iOS, and tvOS, and fixed the build for tests.

PlaygroundSupport and XCPlayground each had a lot of duplication in their test suites, when all that was different was UIView vs. NSView.
This makes each test suite use a single file for the live view-related tests, and also renames the test files to be more functionality-based.

This is in preparation to migrate the PlaygroundSupport project to Swift 4.2.
…tests to Swift 4.2.

This is for <rdar://problem/45676453>.
… to Swift 4.2.

This is for <rdar://problem/45676453>.
…work to Swift 4.2.

This is for <rdar://problem/45676453>.
@cwakamo cwakamo requested a review from jonathanpenn October 31, 2018 17:40
Copy link

@jonathanpenn jonathanpenn left a comment

Choose a reason for hiding this comment

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

LGTM!

@cwakamo cwakamo merged commit 6c112c2 into apple:master Nov 1, 2018
@cwakamo cwakamo deleted the migrate-to-swift-4.2 branch November 1, 2018 17:55
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