Sha256: 8ee3da49734150a05e8ac2fcc1b172e81d0a6f60824ee2a5e6a52275f99caddf
Contents?: true
Size: 946 Bytes
Versions: 3
Compression:
Stored size: 946 Bytes
Contents
// // <%= @prefixed_module %>RouterRegister.m // <%= @project %> // // Created by <%= @author %> on <%= @date %>. // // #import "<%= @prefixed_module %>RouterRegister.h" #import <YKRouterComponent/YKRouterComponentHeader.h> #import <YKCategoryComponent/YKCategoriesComponentHeader.h> #import "<%= @prefixed_module %>RouterDefine.h" #import "<%= @prefixed_module %>DemoViewController.h" #import <<%= @module %>/<%= @module %>-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
3 entries across 3 versions & 1 rubygems