Swift Package Index


A Ruby on Rails flavoured URL routing engine in Swift.


  • The latest stable release is 0.1.0. Released over 1 year ago.
  • The last commit to master was over 1 year ago.

Swift Version Compatibility

  • 0.1.0 and master
    5.3
    5.2
    5.1
    5.0
    4.2
Full build results

Platform Compatibility

  • 0.1.0 and master
    iOS
    macOS(Intel)
    macOS(ARM)
    Linux
    tvOS
    watchOS
Full build results

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.