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

Version Path
yk_command-0.5.0 lib/yk_command/module/template/objc/RouterRegister.m
yk_command-0.4.9 lib/yk_command/module/template/objc/RouterRegister.m
yk_command-0.4.8 lib/yk_command/module/template/objc/RouterRegister.m
yk_command-0.4.7 lib/yk_command/module/template/objc/RouterRegister.m
yk_command-0.4.6 lib/yk_command/module/template/objc/RouterRegister.m
yk_command-0.4.5 lib/yk_command/template/objc/RouterRegister.m
yk_command-0.4.4 lib/yk_command/template/objc/RouterRegister.m
yk_command-0.4.3 lib/yk_command/template/objc/RouterRegister.m
yk_command-0.4.2 lib/yk_command/template/objc/RouterRegister.m
yk_command-0.4.1 lib/yk_command/template/objc/RouterRegister.m
yk_command-0.4.0 lib/yk_command/template/objc/RouterRegister.m