URLBlueprints is a multiplatform tool for deeplinks handling & routing. It allows to define and register blueprints that acts as pattern for deeplink matching.
Requirements
Development
Project uses following tools for development
Installation
To get started with the URLBlueprints you first have to decide how you will integrate it with your project. URLBlueprints supports following tools:
Cocoapods
To install URLBlueprints using Cocoapods go through following steps:
- Add the following entry in your Podfile:
pod 'URLBlueprints'
- Then run
pod install
.
Carthage
To install URLBlueprints using Carthage go through following steps:
- Add the following entry to your Cartfile
github "lewandowskit93/URLBlueprints"
- Then run
carthage update
Swift Package Manager
To install URLBlueprints using Swift Package Manager go through following steps:
- Add following package dependency in you Package.swift
.package(url: "https://github.com/lewandowskit93/URLBlueprints.git", from: "0.0.3")
- Add following target dependency in your Package.swift
dependencies: ["URLBlueprints"])
For instance this is how it might look like:
import PackageDescription
let package = Package(
name: "YourLibrary",
products: [
.library(
name: "YourLibrary",
targets: ["YourLibrary"])
],
dependencies: [
.package(url: "https://github.com/lewandowskit93/URLBlueprints.git", from: "0.0.3")
],
targets: [
.target(
name: "YourLibrary",
dependencies: ["URLBlueprints"])
]
)
Overview
Here is a quick overview of functionalities and concepts used in URLBlueprints.
Example
For more detailed example please see the source code.
Contribution
Project is created and maintained by Tomasz Lewandowski.
If you created some new feature or fixed a bug you can create a pull request. Please feel free to submit your feature requests if you have any.
License
URLBlueprints is released under an MIT license. See License.md for more information.