Frameworks
[基础框架]
An app consists of(由×××组成) code that you write and frameworks provided by Apple. A framework contains a library of methods that your app can call. More than one app can access a framework library at the same time.
[一个应用程序是由两部分组成:你自己编写的代码和苹果提供的框架库。框架包含了由很多方法组成的文库,你的应用程序可以调用这些方法。再同一个时间内,多个应用程序可以访问同一个框架库。]
Any app that you develop links to multiple frameworks. You can take advantage of a framework through its application programming interface (API). The API, published in header files, specifies the available classes, data structures, and protocols. Apple writes frameworks that anticipate(预料) the basic features you might want to implement. You should use frameworks both to save time and effort and to make sure your code is efficient and secure. The system frameworks are the only way to access the underlying hardware.
[你开发的任何的应用都关联着多个框架。你也可以通过API来使用这些框架。在头文件中发布API指定了可以获取的特定类,数据结构和协议。 Apple将预料到的用户可能会自己实现的元素写到框架中。你应该使用这些框架,这样会节省你的时间和精力,并且还可以保证你的代码的安全和高效。那些系统框架是唯一一种可以访问底层硬件的方法]
2012-09-17 08:09:06
THE END!