COCOA DOCUMENT

时间:2012-08-17 18:09:02
【文件属性】:

文件名称:COCOA DOCUMENT

文件大小:324KB

文件格式:RAR

更新时间:2012-08-17 18:09:02

COCOA

If the application you create is useful, you will want to share it with all the people of the world. Unfortunately, we don't all speak the same language. Suppose that you wish to make your RaiseMan application available to French speakers. We would say, "You are going to localize RaiseMan for French speakers." If you are creating an application for the world, you should plan on localizing it for at least the following languages: English, French, Spanish, German, Dutch, Italian, and Japanese. Clearly, you do not want to have to rewrite the entire app for each language. In fact, our goal is to ensure that you don't have to rewrite any Objective-C code for each language. That way, all the nations of the world can use a single executable in peace and harmony. Instead of creating multiple executables, you will localize resources and create string tables. Inside your project directory, an English.lproj directory holds all the resources for English speakers: nib files, images, and sounds. To localize the app for French speakers, you will add a French.lproj directory. The nibs, images, and sounds in this directory will be appropriate for French speakers. At runtime, the app will automatically use the version of the resource appropriate to the user's language preference.


【文件预览】:
cocoa
----Article - Cocoa Framework for Mac.pdf(252KB)
----Creating applications in XCode using frameworks.doc(137KB)
----Using Carbon APIs from Cocoa.doc(39KB)

网友评论