File tree 5 files changed +5
-6
lines changed
AuthenticationExample/AuthenticationExample
5 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ struct UserView: View {
65
65
}
66
66
}
67
67
68
- extension PortalUser . Role : CustomStringConvertible {
68
+ extension PortalUser . Role : @ retroactive CustomStringConvertible {
69
69
public var description : String {
70
70
switch self {
71
71
case . user:
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public final class Authenticator: ObservableObject {
61
61
/// - Parameters:
62
62
/// - promptForUntrustedHosts: A value indicating whether we should prompt the user when
63
63
/// encountering an untrusted host.
64
- /// - oAuthConfigurations : The OAuth configurations that this authenticator can work with.
64
+ /// - oAuthUserConfigurations : The OAuth configurations that this authenticator can work with.
65
65
public init (
66
66
promptForUntrustedHosts: Bool = false ,
67
67
oAuthUserConfigurations: [ OAuthUserConfiguration ] = [ ]
Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ private extension BasemapGallery {
223
223
224
224
public extension BasemapGallery {
225
225
/// The style of the basemap gallery. Defaults to ``Style/automatic(maxGridItemWidth:)``.
226
- /// - Parameter style : The `Style` to use.
226
+ /// - Parameter newStyle : The `Style` to use.
227
227
/// - Returns: The `BasemapGallery`.
228
228
func style(
229
229
_ newStyle: Style
Original file line number Diff line number Diff line change @@ -305,7 +305,7 @@ extension SearchView {
305
305
}
306
306
307
307
/// Sets the current query.
308
- /// - Parameter newQueryString : The new value.
308
+ /// - Parameter newQuery : The new value.
309
309
/// - Returns: The `SearchView`.
310
310
public func currentQuery( _ newQuery: String ) -> Self {
311
311
var copy = self
@@ -316,7 +316,6 @@ extension SearchView {
316
316
/// Sets a closure to perform when the query changes.
317
317
/// - Parameters:
318
318
/// - action: The closure to performed when the query has changed.
319
- /// - query: The new query.
320
319
public func onQueryChanged( perform action: @escaping ( _ query: String ) -> Void ) -> Self {
321
320
var copy = self
322
321
copy. onQueryChangedAction = action
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ The following images are of a simple list of numbers in a floating panel.
18
18
| ------ | ---- |
19
19
| ![ image] ( https://user-images.githubusercontent.com/3998072/202795901-b86d6d26-3572-4c88-8f6e-84473ce57002.png ) | ![ image] ( https://user-images.githubusercontent.com/3998072/202796009-92e3b5c3-d88b-4124-8d9f-bad6df445f02.png ) |
20
20
21
- - Note: The Floating Panel is exposed as a view modifier. See `` SwiftUI /View/floatingPanel(attributionBarHeight:backgroundColor:selectedDetent:horizontalAlignment:isPresented:maxWidth:_:) ``
21
+ - Note: The Floating Panel is exposed as a view modifier. See `` SwiftUICore /View`` for all available modifiers.
22
22
23
23
** Features**
24
24
You can’t perform that action at this time.
0 commit comments