Re: Xcode Documentation Window Groups
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.