Skip to content

action163/MVVMDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jul 22, 2016
cb2864a · Jul 22, 2016

History

2 Commits
Jul 22, 2016
Jul 22, 2016
Jul 22, 2016
Jul 22, 2016
Jul 22, 2016
Jul 22, 2016
Jul 22, 2016
Jul 22, 2016
Jul 22, 2016

Repository files navigation

首先了解一下MVVM的架构

MVVM ###MVVMDemo的架构

Model: 数据的模型

View: 其实包括View和ViewController两部分,统称为View

ViewModel: 本Demo,主要是处理网络请求,把获取的数据显示在TableView上

另外

TableViewProtocol: 为了避免ViewController太重,我把TableView的DataSource和Delegate分离出来

###MVVMDemo的效果预览

preview.gif

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published