Sha256: 070faf24dc5bbec395ae2689e898a30a825b3326ba42b8f893b3783527f0a392
Contents?: true
Size: 754 Bytes
Versions: 3
Compression:
Stored size: 754 Bytes
Contents
// // <%= @prefixed_module %>ServiceRegisterSwift.swift // <%= @project %> // // Created by <%= @author %> on <%= @date %>. // import Foundation import YKModuleServiceComponentSwift class <%= @prefixed_module %>ServiceRegisterSwift: NSObject, YKModuleServiceRegisterProtocol { static func ykModuleServiceRegistAction() { //注册服务 NSObject --> NSObjectProtocol NSObjectProtocol为 swift 协议 //YKModuleServiceComponent().ykRegistModuleService(service: NSObject.self, protocol: NSObjectProtocol.self, err: nil) //注册服务 NSObject --> NSObjectProtocol NSObjectProtocol为 OC 协议 //YKService().ykRegisterModuleService_oc(NSObject.self, protocol: NSObjectProtocol.self, err: nil) } }
Version data entries
3 entries across 3 versions & 2 rubygems