diff --git a/README.md b/README.md index 30b0a4266..fa159bc68 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,8 @@ 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 import all of the provided tools using the `SwiftUI` modules, or individual modules like `SafariView` and `WebAuthentication` as needed.* + ## Usage & Documentation SafariUI's documentation is built with [DocC](https://developer.apple.com/documentation/docc) and included in the repository as a DocC archive. The latest version is hosted on [GitHub Pages](https://pages.github.com) and is available [here](https://vsanthanam.github.io/SafariUI/docs/documentation/safariui). diff --git a/Sources/SafariUI/SafariUI.docc/SafariUI.md b/Sources/SafariUI/SafariUI.docc/SafariUI.md index 9c47de484..a64295519 100644 --- a/Sources/SafariUI/SafariUI.docc/SafariUI.md +++ b/Sources/SafariUI/SafariUI.docc/SafariUI.md @@ -6,6 +6,8 @@ SafariServices in SwiftUI `SafariUI` is a package that allows you to display instances of Safari inside your SwiftUI applications. Use ``WebAuthentication`` when using Safari to authenticate users, and ``SafariView`` for a standard Safari experience. +Both `WebAuthentication` and `SafariView` are separate modules that can be imported individualy, or together using the `SafariUI` module. + ## Topics ### Views