Twenty years ago when I started using computers I also learned a very little bit about writing programs. I used Basic to make some programs for my students of the German language to practise their vocabulary. Now today, 20 years later, I’ve written my first program for the Mac, thanks to some superbly clear instructions at MacDevCenter.com: BYOB: Build Your Own Browser
This is the first of a series describing how to develop applications using WebKit. This article covers building a web browser with just the basics: a browser frame, a location bar, and seven buttons (back, forward, stop, reload, print, smaller text, and larger text).
While some readers in the feedback have criticised it for being too simple, I found it just right, though a couple of steps gave me pause for a moment or two while I figured out which menu item or location the writer (Andrew Anderson) was referring to. All up, it took me probably 10 or 15 minutes to work through this tutorial.
The “browser” I’ve ended up with has a couple of flaws — the Back button and the Address Bar slide around the screen as I resize the window, but hey! it adds a bit of visual interest.