Skip to content

v4.0.0-beta

Pre-release
Pre-release
Compare
Choose a tag to compare
@rechsteiner rechsteiner released this 02 Apr 11:12
· 76 commits to 4.0 since this release
d738017

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. See more in the README.

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

Changes

  • New API for PageView in SwiftUI #666
  • Updated minimum deployment target to iOS 11 #661

Added

  • Add horizontal right alignment support #658