advertisement

Article:
  BYOB: Build Your Own Browser, Part 2
Subject:   Two Problems
Date:   2005-07-14 06:33:47
From:   aaanderson
Response to: Two Problems

In terms of the object heirarchy it looks like XCode has changed slightly how you navigate the object heirarchy from previous versions (this article was written last year). When you set up a multi-document application, I believe that MyDocument should default to be a subclass of NSDocument.


Also, WebKit has definately changed. I believe it is now on revision 4.12.1, which would account for some of the strange compilation issues that you talk about in other posts. I believe the fix of including WebKit.h, forces inclusion of all the WebKit framework header files.


In terms of the crashes, a thousand things could get it to crash on occasion. I think the debugger is the best way to go to figure it out. If I had to guess, I would say that it is probably caused by WebKit trying to access one of the delegates after it has been either disregarded or set to nil.


Sorry that I do not have more specific answers, I have not tried to upgrade the BYOB browser to the latest webkit or Tiger yet.


Andrew