It works!

I just had to add a load of code which wasn’t mentioned in the manual. I found it all in Apple’s Cocoa_InitGL sample. I wrote my first Cocoa app! Woo! Now I want get it to dump the rendered scene to a file. With the old Windoze version I would just hit print screen and paste the image into Photoshop. I’m determined not to go that route this time.