Sha256: 1c42c26aed86a418e2ff24cff32289143a4edfb67abd39934cff25783f2aee75
Contents?: true
Size: 797 Bytes
Versions: 15
Compression:
Stored size: 797 Bytes
Contents
// // YKRPC_POD_NAMERegisterRouter.m // YKRPC_POD_NAME // // Created by YKRPC_AUTHOR_NAME on YKRPC_CREATE_DATE. // #import "YKRPC_POD_NAMERegisterRouter.h" #import <STComponentTools/STRouterHeader.h> @interface YKRPC_POD_NAMERegisterRouter()<STRouterRegisterProtocol> @end @implementation YKRPC_POD_NAMERegisterRouter + (void)stRouterRegisterExecute { [[STRouterComponent shareInstance] ykRegisterUrlPartterns:@"XXXRouterStr" error:nil action:^(STRouterUrlRequest * _Nonnull urlRequest, STRouterUrlCompletion _Nonnull completetion) { // xxxVC *vc = [[xxxVC alloc] init]; // UIViewController *topVC = urlRequest.fromVC ? urlRequest.fromVC : [UIViewController topController]; // [topVC.navigationController pushViewController:vc animated:YES]; }]; } @end
Version data entries
15 entries across 15 versions & 1 rubygems