• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode Documentation Window Groups
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode Documentation Window Groups


  • Subject: Re: Xcode Documentation Window Groups
  • From: Philip Aker <email@hidden>
  • Date: Thu, 03 Jun 2004 08:09:59 -0700

On Thursday, Jun 3, 2004, at 02:36 US/Pacific, Mark Grimes wrote:

... but there is no way I know of to hook my own webview app into xcode to replace the documentation window.

Here's a sketch of the implementation:

Create an AppleScript Xcode Plugin project which adds a menu item to Xcode's Help menu. In the plugin, customize a Cocoa document-based nib with the WebKit/WebView.h header file by creating a custom view which uses the WebView class. Add a text field to the window with the custom WebView and connect it to the "takeStringURLFrom:" method. Supply the text field with a default string like: "file:///Developer/Applications/Xcode.app/Contents/Resources/ English.lproj/Xcode_Help/index.html" (or whatever starting point you prefer). There are more details about using WebKit with AppleScript in the Applescript Studio list archives (maybe July-August 2003).


HTH,

Philip Aker
http://www.aker.ca
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: Xcode Documentation Window Groups
  • Next by Date: Re: very sluggish editing
  • Previous by thread: Re: Xcode Documentation Window Groups
  • Next by thread: Can't find Apple Help Indexing Tool
  • Index(es):
    • Date
    • Thread