Sha256: 3273a3a4a5093339b83fe35f4fe724de362b26036b3b7f0eefbec78dd250daaf
Contents?: true
Size: 869 Bytes
Versions: 11
Compression:
Stored size: 869 Bytes
Contents
// // <%= @prefixed_module %>RouterRegister.m // <%= @project %> // // Created by <%= @author %> on <%= @date %>. // // #import "<%= @prefixed_module %>RouterRegister.h" #import <MTBaseKit/MTBaseKitHeader.h> ` #import "<%= @prefixed_module %>RouterDefine.h" #import "<%= @prefixed_module %>DemoViewController.h" #import <<%= @module %>/<%= @module %>-Swift.h> @implementation <%= @prefixed_module %>RouterRegister @YKRouterRegister() { [[MTRouterComponent shareInstance] registerUrlPartterns:kDemoRouterString error:nil action:^(MTRouterUrlRequest * _Nonnull urlRequest, MTRouterUrlCompletion _Nonnull completetion) { <%= @prefixed_module %>DemoViewController *vc = [[<%= @prefixed_module %>DemoViewController alloc] init]; [[UIViewController mt_topViewController].navigationController pushViewController:vc animated:YES]; }]; } @end
Version data entries
11 entries across 11 versions & 1 rubygems