Cocoa is a complete set of classes and application programming interfaces (APIs) for building Mac OS X
applications and tools. With over 240 classes, Cocoa is divided into two essential frameworks: the
Foundation framework and the Application Kit.
The Foundation framework provides a fundamental set of tools for representing fundamental data types,
accessing operating system services, threading, messaging, and more. The Application Kit provides the
functionality to build graphical user interfaces (GUI) for Cocoa applications. It provides access to the
standard Aqua interface components ranging from menus, buttons, and text fields—the building blocks of
larger interfaces—to complete, prepackaged interfaces for print dialogs, file operation dialogs, and alert
dialogs. The Application Kit also provides higher-level functionality to implement multiple document
applications, text handling, and graphics.
Classes are not the only constituents of the Cocoa frameworks. Some programming tasks, such as
sounding a system beep, are best accomplished with a simple C function. Cocoa includes a number of
functions for accomplishing tasks such as manipulating byte orders and drawing simple graphics.
Additionally, Cocoa defines a number of custom data types and constants to provide a higher degree of
abstraction to many method parameters.
七月, 2009
18
七 09
What Is Cocoa?
3
七 09
火
7月3日,大悦城
中午大叔请大家吃城里的“板扎板”,八个人穿着塑料围裙排排坐,面前是一溜儿整个儿的长铁板,底下加着热,大厨就在你眼前把油倒在铁板上,再用打火机点着,油哄的一下就烧起来,那一下,足以燃起你的无限食欲和乐趣。
大厨把各种食物在铁板上煎熟,然后分成一份份的放到每个人的盘子里,食物在铁板上发出滋滋的响声,大厨不时自如的挥舞几下手里的刀铲,就像在进行着一场表演,专注而且自豪。这让我觉得在这里做厨师,是一件快乐的事情,因为可以在顾客面前展示自己的厨艺,而不是躲在厨房的某个角落默默无闻的完成一个又一个任务。大厨转过身的时候,我看见他左边耳朵上居然带着一个耳环,哈,还是一代走在时尚前沿的厨师。
整个中午,大家吃的和聊的都很开心,后来臭豆腐上来的时候,我先撤离了现场。
2
七 09
美丽的夕阳
这几天都贼热。
但是空气还算好,还算透彻,每天都能从办公室看见远处起伏着的西山。天也不像之前那么死不死活不活的灰蒙蒙,总算还能看出蓝色,加上有时候白云朵朵,有时候云海翻涛,虽然烈日当空,也不觉得这天气讨厌。每当日薄西山,云彩就被镶上了金边,金黄,绚烂,躲在后面的太阳射出道道金光,喷薄,壮观。
夕阳无限好,虽然近黄昏。我总是想找个好的角度和时机把它拍下来,但每次总是在下班回家的路上,不是在开车,就是坐在别人的车里,拍了也总是觉得不够好。不过本着过我眼即我有的伟大精神,就算我呆呆的看了它一会儿,也觉得很满足了。
是不是会有一只鸟,天天蹲在城市最高的地方,面向西方欣赏这美丽呢?



