Skip to content

Bump SwiftUINavigation and update examples #1760

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 9 commits into from
Dec 21, 2022

Conversation

iampatbrown
Copy link
Contributor

While updating some examples to use the new AlertState and ConfirmationDialogState initializers, I thought it would probably be worth bumping SwiftUINavigation to the latest version.

I had a feeling the examples didn't need to support a minimum version but was unsure. I just updated what I could find.

In addition to updating the examples I have included some small fixes I noticed along the way. Happy to create separate PRs if needed.

Summary of changes:

  • Updated all examples that use AlertState and ConfirmationDialogState
  • Added missing preview for Search example
  • Remove unused TestClock from ReusableComponentsFavoritingTests
  • Bumped swift tool version to 5.6 and platform requirement to .iOS(.v15) for TicTacToe example and made Login sendable
  • Added double quotes to scheme variable in Makefile test-examples so CaseStudies (SwiftUI) CaseStudies (UIKit) are passed correctly to xcodebuild test -scheme. Currently being passed as xcodebuild test -scheme CaseStudies "(SwiftUI)" which results in xcodebuild: error: Unknown build action '(SwiftUI)'

Copy link
Member

@stephencelis stephencelis left a comment

Choose a reason for hiding this comment

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

Looks great! 😃

@stephencelis stephencelis merged commit fe5603e into pointfreeco:main Dec 21, 2022
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