View Full Version : WebKit Framework

07-08-2008, 10:29 PM
Hi, I'm new to Cocoa development, and I'm currently trying to go through this (http://www.macdevcenter.com/pub/a/mac/2004/05/28/webkit.html) tutorial.
Problem is, it's not working.
I have followed the tutorial through to the part just before they go into the javascript wndow opening bit, on the second page.
I have the url text field linked to the WebView object via connectURL, an action I set up. However, it doesn't appear to be working. If I directly link the text field and the WebView, it works fine. Everything I have done is exactly to the tutorial, as close as I can get as it seems there has been a major interface change since that tutoral was written, though I believe I have found and followed everything I should have.
If it helps, I have the project file (and other appripriate files) here (http://willhostforfood.com/dl.php?fileid=26553).

Any help appreciated. If you need more info, please ask.


07-08-2008, 10:52 PM
Have you looked at the examples under /Developer/Examples/WebKit - in particular, the "MiniBrowser" example?

07-08-2008, 11:40 PM
Thank you very much. I always forget that those are there. I worked out that I had connected the objects wrongly. Not sure if it was my fault or the tutorials, but I'm guessing it's mine.
I will continue with the tutorial, and ask here if I have any more issues that I can't resolve myself.