Skip to content

JLRoutes 2.1

Compare
Choose a tag to compare
@joeldev joeldev released this 28 Dec 02:49
· 8 commits to master since this release

Release Notes

JLRoutes 2.1 has the following new features and improvements:

New

  • It is now possible to change the default route definition class using +[JLRoutes setDefaultRouteDefinitionClass:]
  • Much more of the JLRRouteDefinition API is exposed in the header and intended to be overridden in subclasses (see README for more details).
  • A new class, JLRRouteHandler, has been added to provide helper methods for creating route handler blocks that are routed to classes or object instances (see README for more details).

Improvements

  • The initializer for JLRRouteDefinition no longer requires a scheme parameter to be provided
  • JLRRouteResponse now holds on to the final parameters passed to the handler block, via a parameters property
  • JLRRouteResponse and JLRRouteDefinition now conform to NSCopying
  • Many miscellaneous API improvements
  • Significant code cleanup