Latest1.0.3
Homepagehttps://github.com/harishkataria/Patterns
LicenseMIT
Platformsios 8.0, osx 10.10, tvos 9.0, watchos 2.0
Authors

Patterns

Simplifying pattern building in Swift

Patterns is a framework for building regular-expression-like matchers with native Swift data types.

Features

  • [x] Enables developers to work with Swift-friendly data types to construct and test patterns.
  • [x] Empowers developers to build readable Patterns using descriptive elements instead of raw string format.
  • [x] Gives developers the capability to use Boolean operators to combine simple patterns to form complex ones.
  • [x] Packages commonly used pattern types, including regular expressions, glob expressions, prefix matcher, suffice matcher, and everyone’s favorite XCode’s open-quickly command filter.
  • [x] Provides reusable base functionality (via protocol extensions) which can be leveraged to build your own custom pattern types.

Usage

See sample code examples.

Requirements

  • iOS 8.0+ / macOS 10.10+ / tvOS 9+ / watchOS 2+
  • Xcode 9+
  • Swift 4+

Installation

See install guide.

Documentation

See Jazzy-generated docs.

License

Patterns is released under the MIT license. See LICENSE for details.

Latest podspec

{
    "name": "Patterns",
    "version": "1.0.3",
    "license": "MIT",
    "summary": "Simplifying pattern building in Swift",
    "homepage": "https://github.com/harishkataria/Patterns",
    "authors": {
        "Harish Kataria": "[email protected]"
    },
    "source": {
        "git": "https://github.com/harishkataria/Patterns.git",
        "tag": "1.0.3"
    },
    "platforms": {
        "ios": "8.0",
        "osx": "10.10",
        "tvos": "9.0",
        "watchos": "2.0"
    },
    "source_files": "Source/**/*.swift"
}

Pin It on Pinterest

Share This