Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
WebKitPluginWithJavaScript
Last Revision: | Version 1.1, 2007-06-06 Updated SpeedometerView sources to new NSString to NSBezierPath method. (Full Revision History) |
Build Requirements: | Xcode 2.4.1 |
Runtime Requirements: | Mac OS X 10.4 |
This sample takes you through all of the basic steps involved in creating a new Cocoa WebKit plug-in that provides JavaScript calling between the plug-in's code and the web page containing the plug-in.
This sample is based on the WebKitPluginStarter sample and picks up where that sample left off to show how to add JavaScript support to a WebKit plug-in. After reviewing this sample, you will want to check out the WebKitPluginWithSimpleGUI sample to learn how you can build your plug-in's GUI in Interface Builder and load it from a .nib file.
Copyright © 2007 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2007-06-06