model view controller in objective-凯发app官方网站

凯发app官方网站-凯发k8官网下载客户端中心 | | 凯发app官方网站-凯发k8官网下载客户端中心
  • 博客访问: 44813
  • 博文数量: 22
  • 博客积分: 536
  • 博客等级: 中士
  • 技术积分: 205
  • 用 户 组: 普通用户
  • 注册时间: 2011-04-11 00:59
文章分类

(22)

  • (1)
  • (1)
  • (19)
  • (0)
  • (1)
文章存档

(1)

(5)

(16)

我的朋友
最近访客
相关博文
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·

分类: bsd

2012-01-31 19:11:30

the first question new cocoa programmers ask me when they get to this stage is: “how do i send data between classes?” there’s no magic senddatatoclass method or anything like that. instead, you use model-view-controller, or, more commonly, mvc. this isn’t a class—it’s a mindset.

in a nutshell, mvc says that there are three kinds of objects: model objects, which hold raw data; view objects, which the user can see and click on; and controller objects, which keep the model and view objects in sync.

阅读(1072) | 评论(0) | 转发(0) |
0

上一篇:objective-c headers in imac system

下一篇:

给主人留下些什么吧!~~
")); function link(t){ var href= $(t).attr('href'); href ="?url=" encodeuricomponent(location.href); $(t).attr('href',href); //setcookie("returnouturl", location.href, 60, "/"); }
网站地图