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

Version Path
yk_command-0.6.4 lib/yk_command/module/template/objc/RouterRegister.m
yk_command-0.6.2 lib/yk_command/module/template/objc/RouterRegister.m
yk_command-0.6.1 lib/yk_command/module/template/objc/RouterRegister.m
yk_command-0.6.0 lib/yk_command/module/template/objc/RouterRegister.m
yk_command-0.5.91 lib/yk_command/module/template/objc/RouterRegister.m
yk_command-0.5.9 lib/yk_command/module/template/objc/RouterRegister.m
yk_command-0.5.8 lib/yk_command/module/template/objc/RouterRegister.m
yk_command-0.5.7 lib/yk_command/module/template/objc/RouterRegister.m
yk_command-0.5.6 lib/yk_command/module/template/objc/RouterRegister.m
yk_command-0.5.5 lib/yk_command/module/template/objc/RouterRegister.m
yk_command-0.5.4 lib/yk_command/module/template/objc/RouterRegister.m
yk_command-0.5.3 lib/yk_command/module/template/objc/RouterRegister.m
yk_command-0.5.2 lib/yk_command/module/template/objc/RouterRegister.m
yk_command-0.5.1 lib/yk_command/module/template/objc/RouterRegister.m