A small library to enable more idiomatic Swift pattern matching of URL path elements.
URLPatterns is a small library to enable more idiomatic Swift pattern matching of URL path elements.
`NSURL` is extended with the method `countedPathElements()`, which converts the URL's' array of path elements
into a `Counted` enum. Each case in `Counted` has a different number of associated values, which makes
pattern-matching each element easy, including wildcard, value-binding, begins and ends patterns.
Commercial Use
Modify
Distribute
Sub-License
Private Use
Hold Liable
Include Copyright
Include License
These details are provided for information only. No information here is legal advice and should not be used as such.
There are no reported vulnerabilities
30 Day SummaryNov 10 2024 — Dec 10 2024
|
12 Month SummaryDec 10 2023 — Dec 10 2024
|