Objective-c 的 MVVM 开发框架 LPDMvvmKit
- 授权协议: MIT
- 开发语言: Objective-C HTML/CSS
- 操作系统: 跨平台
- 软件首页: https://github.com/foxsofter/lpd-mvvm-kit
- 软件文档: https://github.com/foxsofter/lpd-mvvm-kit/blob/master/README.md
- 官方下载: https://github.com/foxsofter/lpd-mvvm-kit/archive/master.zip
软件介绍
LPDMvvmKit
提供了一些常用的工具类,还有一些很轻巧的控件,以及最主要的是提供了MVVM开发框架,一直比较喜欢采用MVVM的框架来开发前端产品,所以会希望在iOS下也能找到类似的框架可以采用,但是一直没有找到合适的,所以就自己造了个轮子,代码未充分测试,欢迎各种issue。
使用:
LPDMvvmKit支持 CocoaPods,在 Podfile文件中添加如下行
pod 'LPDMvvmKit'
分为三个Subspecs
LPDMvvmKit/Additions 主要提供一些常用的工具类的代码
pod 'LPDMvvmKit/Additions'
LPDMvvmKit/Controls 目前提供一些控件,LPDToastView,LPDAlertView可以了解下
pod 'LPDMvvmKit/Controls'
LPDMvvmKit/Mvvm 就是LPDMvvmKit主要提供的功能了,因为对前两个Subspecs都有依赖,所以使用直接添加以下行就好了
pod 'LPDMvvmKit'
可以clone并运行,主流程都是有demo可循的。
view controller和view model解耦
目前在github上能搜到的与MVVM相关的Objective-c库有下面几个:
这些库都不错,也可以了解下这款,可能进入曲线稍高。
Coding the Matrix
Philip N. Klein / Newtonian Press / 2013-7-26 / $35.00
An engaging introduction to vectors and matrices and the algorithms that operate on them, intended for the student who knows how to program. Mathematical concepts and computational problems are motiva......一起来看看 《Coding the Matrix》 这本书的介绍吧!
