Structures
The following structures are available globally.
-
Sperical rectangle struct
See moreDeclaration
Swift
public struct CNLLocationCoordinate2DRect
-
Deep link parameter
See moreDeclaration
Swift
public struct DeepLinkParameters
-
Components of deep link
See moreDeclaration
Swift
public struct DeepLinkComponents
-
Decompose deep link into scheme name, link name and parameters array
Usage: let url = URL(string:
See moremyapp://host/path?param1=123¶m2=abc
)! if let deepLinkComponents = CNLDeepLink.parseURL(url) { print(deepLinkComponents.scheme) print(deepLinkComponents.host) print(deepLinkComponents.path) if let param: Int = deepLinkComponents.parameters[param1
] { print(param) } if let param: String = deepLinkComponents.parameters[param2
] { print(param) } }Declaration
Swift
public struct DeepLink