GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Poneyo/MBMvc: An iOS Message Based MVC framework

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

258 Commits
258 Commits

Folders and files

NameName
Last commit message
Last commit date
Doc
Doc
 
 
Example
Example
 
 
Pod
Pod
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
MBMvc.podspec
MBMvc.podspec
 
 
README.md
README.md
 
 

Repository files navigation

MBMvc 就是Message Based MVC的简称

使M/V/C之间的交互全部通过消息机制来完成,不会相互引用,这样就不会因为有引用导致的各自生命周期的混乱

因为没有引用那么也会消灭由于循环引用导致的内存泄露和野指针导致的Crash

通过消息话也能使UI逻辑和业务逻辑异构,直接在不同的线程运行不会相互干扰使UI更流畅

而V/C 之间 也提供了数据Bind的方式达到完全解耦,相互的交互通过数据来驱动,不会有直接引用,从而解决有回调而导致的Crash或内存无法被及时释放的问题

而C/M 之间 也可以通过proxy的方式让 方法执行直接被消息化(有点象异步HSF的样子). 这样消息是可以被拦截并重放的,就可以很简单的作AOP(已经支持拦截器)

About

An iOS Message Based MVC framework

Resources

Readme
MIT license
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.