Swiftpack.co - broadwaylamb/StringSearch as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by broadwaylamb.
broadwaylamb/StringSearch 0.2.1
A simple algorithm for searching for a string in a collection of strings, based on Swift 5.1 ordered collection diffing
⭐️ 1
🕓 4 years ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/broadwaylamb/StringSearch.git", from: "0.2.1")

StringSearch

A simple algorithm for searching for a string in a collection of strings, based on Swift 5.1 ordered collection diffing.

  • Produces something like Xcode's code completion matching.
  • Not limited to strings, works with any BidirectionalCollection.
  • Does not depend on anything but the standard library.

I'm too lazy to add documentation, but it's simple, you can figure it out yourself.

Requirements

  • Swift 5.1
  • iOS 13
  • macOS 10.15
  • watchOS 6
  • tvOS 13
  • Any non-Apple platform where you can compile Swift code.

GitHub

link
Stars: 1
Last commit: 4 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

0.2.1
4 years ago

Set penalty to 0.4

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics