porttt.blogg.se

Mac app swift note
Mac app swift note












helpindex HPDBookTitle My App Help HPDBookType 3 HPDBookUsesExternalViewer Creating Help Book pagesĪpple Help Book pages are simply HTML files. html HPDBookIconPath images / chip3_32x32. help CFBundleInfoDictionaryVersion 6.0 CFBundlePackageType BNDL CFBundleShortVersionString 22 CFBundleSignature hbwr CFBundleVersion 22 HPDBookAccessPath index. CFBundleDevelopmentRegion en CFBundleIdentifier org. If you are editing the ist file in a text editor, then add these keys and their value strings: The Help Book identifier is simply the name of your help (eg My App Help). This directory should be located in the application bundle Contents/Resources directory. The Help Book directory name should refer to the Help Book bundle name (eg MyApp.help). If you are using Xcode, then add these keys.

mac app swift note

If your help file is not indexed, then even trying to open it will result in a perplexing "Not available" error page in the Apple Help Viewer. Two keys need to be added or Spotlight will not index your help file. One of the most important files is the application ist. Tip: If you wish to NOT have macOS automatically add a Search option to your Help menu then, when you create the Help menu item, add a trailing space after Help in the menu item's caption property and the Search option will not show up in your application's Help menu. Once you have added the My App Help menu item, create an OnClick event handler containing the following code: You also need to add a menu item to your Help menu to open your application help file at its table of contents. macOS will then automatically add a Search menu option to your Help menu when you run your application. If you have not already done so, you need to add a TMainMenu component to your application form, and create a TMenuItem with a caption name of "Help".

mac app swift note

A typical application bundle with an Apple Help Book bundle should resemble this layout:














Mac app swift note