skawtus – calls to Cocoa-land need an autorelease pool set up around them –
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; // Cocoa calls here [pool drain];
sbook – as vade says, breaking the functionality down to something similar to the Cocoa API (the three distinct objects) seems the simplest way to do things – but you don’t need to exactly mirror the API where it doesn’t make sense – for instance it may not be feasible to support new frame handlers. If you get one way of serving frames and one way of drawing them from clients working, then perhaps someone else will flesh that out if they need the other features…
Great that there is a start at this – thanks!