PDFview in Applescript Studio?

Is it possible to add a PDFview to an Applescript Studio project?

I added the PDFKit.palette to Interface Builder’s Interface Palette, and added a PDFview into a new window.

This document claims that you can drag pdfs into the PDFview (after selecting File / Test Interface… ) but that doesn’t work for me.

http://developer.apple.com/documentation/GraphicsImaging/Conceptual/PDFKitGuide/PDFKit_Prog_Tasks/chapter_3_section_2.html#//apple_ref/doc/uid/TP40001863-CH202-DontLinkElementID_17

I followed the instructions (above) and added the PDFview.palette to IB’s Preferences… / Palettes pane, and created a new window with a PDFView. When I test the interface, the PDFview contextual commands pop-up when I right-click, but it won’t allow me to drag a pdf file into the view. I also tried dragging a pdf document into the view in layout mode, just for the heck of it, no go either.

Even worse, when I try compiling, I get the following error as long as a PDFview is used in the project:

It clearly seems to be having problems accessing PDFKit, maybe I need to add it to an include statement somewhere?

I’d like to figure out how I can pass PDFKit a URL to a PDF file and make it appear in a PDFView. But, as much as I’d love to, I simply don’t know Cocoa.
If anyone is willing to provide a little advice or assistance, I for one would be very greatfull. Thanks!

Model: iMac G5
AppleScript: AS Studio/XCode 2.1
Browser: Safari 3.1
Operating System: Mac OS X (10.4)