SafariUI

MIT License Release Build Status Swift Version Supported Platfoms

SwiftUI wrappers for SFSafariViewController and ASWebAuthenticationSession

Installation

SafariUI currently distributed exclusively through the Swift Package Manager.

To add SafariUI as a dependency to an existing Swift package, add the following line of code to the dependencies parameter of your Package.swift file:

dependencies: [
    .package(url: "https://github.com/vsanthanam/SafariUI.git", .upToNextMajor(from: "4.0.0"))
]

To add SafariUI as a dependency to an Xcode Project:

Other distribution mechanisms like CocoaPods or Carthage may be added in the future.

Note: The package contains multiple modules. You can depend on the whole library by importing the SwiftUI module, or you can depend on individual modules like SafariView or WebAuthentication as needed.

Usage & Documentation

SafariUI’s documentation is built with DocC and included in the repository as a DocC archive. The latest version is hosted on GitHub Pages and is available here.

Additional installation instructions are available on the Swift Package Index

Explore the documentation for more details.

License

SafariUI is available under the MIT license. See the LICENSE file for more information.