tailieunhanh - Apple Help Programming Guide phần 3
Trong khi đó, các chức năng AHGotoPage yêu cầu bạn biết đường dẫn đầy đủ hoặc một phần các tập tin HTML mô tả các chủ đề trợ giúp, AHLookupAnchor cho phép bạn truy cập vào một chủ đề trợ giúp với tên chỉ neo. Trong hầu hết các trường hợp, bằng cách sử dụng một neo là dễ dàng hơn | CHAPTER 1 Apple Help Concepts Whereas the AHGotoPage function requires that you know the full or partial path to the HTML file describing the desired help topic AHLookupAnchor allows you to access a help topic with only the anchor name. In most cases using an anchor is easier and more flexible than tracking the location of the file describing the topic. If there is not one particular topic that you wish to load in Help Viewer you can instead use the AHSearch function to search your help book for all topics containing a particular string. The Apple Help functions are described in detail in the Apple Help Reference. NSHelpManager methods are described in NSHelpManager Class Reference. To learn how you can use the Apple Help functions to access your help book content from within your application see Opening Your Help Book in Help Viewer page 63 . 21 The Apple Help Application Programming Interface 2007-10-31 2003 2007 Apple Inc. All Rights Reserved. CHAPTER Apple Help Concepts 1 The Apple Help Application Programming Interface 2007-10-31 2003 2007 Apple Inc. All Rights Reserved. 22 CHAPTER 2 Authoring Apple Help This chapter describes how to author help content for Help Viewer and organize it into a help book. Anyone authoring user help for Mac OS X should be familiar with the basic requirements of creating a help book and with the general guidelines for writing user help. These are the basic steps for creating a help book for Mac OS X 1. Design the help content. 2. Author the HTML help pages. 3. Organize the help book. This includes creating the necessary auxiliary files that Help Viewer uses. 4. Index the help book. In addition this chapter describes how you can include additional content such as QuickTime movies and AppleScript scripts in your help book and how you can localize your help book for other languages. Designing a Help Book The first steps in authoring your help book are identifying the topics your help must cover and designing a layout for presenting .
đang nạp các trang xem trước