Sha256: d3a3dd7e869503f3d51ba51e2fefd069c0d7f3765c2e553b0163c4ced8845a5b
Contents?: true
Size: 816 Bytes
Versions: 5
Compression:
Stored size: 816 Bytes
Contents
// // YKRPC_POD_NAMERegisterRouter.m // YKRPC_POD_NAME // // Created by YKPRC_AUTHOR_NAME on YKPRC_CREATE_DATE. // #import "YKRPC_POD_NAMERegisterRouter.h" #import <YKRouterComponent/YKRouterComponentHeader.h> @interface YKRPC_POD_NAMERegisterRouter()<YKRouterComponentRegisterProtocol> @end @implementation YKRPC_POD_NAMERegisterRouter + (void)ykRouterRegisterExecute { [[YKRouterComponent shareInstance] ykRegisterUrlPartterns:@"XXXRouterStr" error:nil action:^(YKRouterUrlRequest * _Nonnull urlRequest, YKRouterUrlCompletion _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
5 entries across 5 versions & 1 rubygems