A Ruby on Rails flavoured URL routing engine in Swift.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Demo.playground
RouterX.xcodeproj
RouterX.xcworkspace
Sources/RouterX
Tests
.gitignore
.swiftlint.yml
.travis.yml
Gemfile
Gemfile.lock
MIT-LICENSE
Package.swift
README.md
RouterX.podspec

README.md

RouterX

Build Status codecov.io

A Ruby on Rails flavored URI routing library in Swift.

Usages

See Demo.playground for now.

Routing rules follows Rails flavor, see Rails routing guide for now.

Features

  • globbing support
  • format validation

Requirements

  • iOS 9.0+ / Mac OS X 10.10+ / tvOS 9.0+
  • Xcode 10.0+

Contributing

Bug report or pull request are welcome.

Make a pull request

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Please write unit test with your code if necessary.

License

The project is available as open source under the terms of the MIT License.