Sha256: de6817d4c1a0f77c121a07f4a67a9dbc67e32435cc1c939160beb5b2472dcd5c
Contents?: true
Size: 891 Bytes
Versions: 14
Compression:
Stored size: 891 Bytes
Contents
// // <%= @prefixed_module %>RouterRegister.m // <%= @project %> // // Created by <%= @author %> on <%= @date %>. // // #import "<%= @prefixed_module %>RouterRegister.h" #import <YKRouterComponent/YKRouterComponentHeader.h> #import "<%= @prefixed_module %>RouterDefine.h" #import "<%= @prefixed_module %>DemoViewController.h" #import <<%= @name %>/<%= @name %>-Swift.h> @implementation <%= @prefixed_module %>RouterRegister @YKRouterRegister() { [[YKRouterComponent shareInstance] ykRegisterUrlPartterns:kDemoRouterString error:nil action:^(YKRouterUrlRequest * _Nonnull urlRequest, YKRouterUrlCompletion _Nonnull completetion) { <%= @prefixed_module %>DemoViewController *vc = [[<%= @prefixed_module %>DemoViewController alloc] init]; [[UIViewController yk_topViewController].navigationController pushViewController:vc animated:YES]; }]; } @end
Version data entries
14 entries across 14 versions & 1 rubygems