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

Release v4.0.0 #715

Merged
merged 1 commit into from
May 25, 2024
Merged

Release v4.0.0 #715

merged 1 commit into from
May 25, 2024

Conversation

rechsteiner
Copy link
Owner

@rechsteiner rechsteiner commented May 25, 2024

Version 4.0 introduced a new and improved API for PageView in SwiftUI. Each page can now show define their own menu items, which can be any SwiftUI view. The new API also supports result builders, which allows you to easily setup your PageView.

PageView {
    Page("Title 1") {
        Text("Page 1")
    }
    Page { _ in
        Image(systemName: "star.fill")
    } content: {
        Text("Page 2")
    }
}

Changes

Added

Fixes

@rechsteiner rechsteiner merged commit 189e900 into main May 25, 2024
1 check passed
@rechsteiner rechsteiner deleted the release branch May 25, 2024 14:12
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.

1 participant