CommandBus

CommandBus 是一个轻量级的 Command Bus 的实现,用 Swift 编写。 使用: { "{CommandNameA}": "{CommandHandlerNameA}", "{CommandNameB}": "{CommandHandlerNameB}", "{CommandNameC}": "{CommandHandlerNameC}" } class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() /*** Register to the Command event ***/ NSNotificationCenter.defaultCenter().addObserver(self, selector: ...

加载中
加载中

{{o.href}}

{{o.content | formatHtml}}

{{o.author.name}}
{{o.pubDate | formatDate}}
{{parseInt(o.viewCount) | bigNumberTransform}}

暂无相关内容

返回顶部
顶部