-
Notifications
You must be signed in to change notification settings - Fork 25
Deeplink
ohitsdaniel edited this page Apr 29, 2021
·
5 revisions
First class representation of a deeplink based on URLs
public struct Deeplink: Hashable
Hashable
Initialise a deeplink from a URL, matching the passed Scheme
public init?(url: URL, matching scheme: String)
Typically used to parse deeplinks from URL scheme triggers
// scheme://name?flag&value=123
let url = URL(string: "scheme://name?flag&value=123")!
let deeplink = Deeplink(
url: url,
matching: "scheme"
)
deeplink.components == [
DeeplinkComponent(
name: "name",
arguments: [
"flag": .flag,
"value": "123"
]
)
] // True
public let components: [DeeplinkComponent]
Generated at 2021-04-29T07:59:04+0000 using swift-doc 1.0.0-beta.6.
Types
- AnyPathBuilder
- AnyScreen
- Deeplink
- DeeplinkComponent
- DeeplinkComponent.Argument
- DeeplinkHandler
- DeeplinkParser
- EitherAB
- EitherABC
- EitherABCD
- EitherABCDE
- EitherABCDEF
- EitherABCDEFG
- EitherABCDEFGH
- EitherABCDEFGHI
- EitherABCDEFGHIJ
- IdentifiedScreen
- NavigationNode
- NavigationTreeBuilder
- Navigator
- Navigator.Datasource
- Navigator.DidAppearInvocation
- Navigator.DismissInvocation
- Navigator.GoBackToInvocation
- Navigator.GoToInvocation
- Navigator.GoToPathInvocation
- Navigator.NavigationIdentifier
- Navigator.ReplaceContentInvocation
- Navigator.ReplacePathInvocation
- Navigator.ReplaceScreenInvocation
- NavigatorKey
- OnDismissView
- PathBuilders
- PathBuilders.EmptyBuilder
- PathBuilders.WildcardView
- PathComponentUpdate
- PathUpdate
- Root
- ScreenPresentationStyle
- TreatSheetDismissAsAppearInPresenterKey
- _PathBuilder